[gnome-commander] noop: code style



commit 0845f72ab828d2b30d0e72dd72f696b528a52fe2
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sun Mar 3 21:24:52 2019 +0100

    noop: code style

 src/utils.cc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/utils.cc b/src/utils.cc
index 135e6140..0a4f78a4 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -969,7 +969,11 @@ gboolean create_dir_if_needed (const gchar *dpath)
         case 0:
         {
             g_print (_("Creating directory %s… "), dpath);
-            if (mkdir (dpath, S_IRUSR|S_IWUSR|S_IXUSR) == 0)  return TRUE;  else
+            if (mkdir (dpath, S_IRUSR|S_IWUSR|S_IXUSR) == 0)
+            {
+                return TRUE;
+            }
+            else
             {
                 gchar *msg = g_strdup_printf (_("Failed to create the directory %s"), dpath);
                 perror (msg);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]