[gthumb/gthumb-3-4] fixed comparison



commit c205a1491014015704ee63e3dc5756c6b48a42b6
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Sep 30 12:40:48 2016 +0200

    fixed comparison

 gthumb/gio-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gio-utils.c b/gthumb/gio-utils.c
index 5fcb384..9bb383d 100644
--- a/gthumb/gio-utils.c
+++ b/gthumb/gio-utils.c
@@ -2602,7 +2602,7 @@ _g_directory_make (GFile    *file,
                   GError  **error)
 {
        if (! g_file_make_directory (file, NULL, error)) {
-               if (! (*error)->code == G_IO_ERROR_EXISTS)
+               if ((*error)->code != G_IO_ERROR_EXISTS)
                        return FALSE;
                g_clear_error (error);
        }


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