[file-roller] keep the style consistent



commit d74faa98164c6c8d6c64ddc87cebe54065fb2de0
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Apr 28 08:58:41 2013 +0200

    keep the style consistent

 src/glib-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/glib-utils.c b/src/glib-utils.c
index 503f0e7..9fb222e 100644
--- a/src/glib-utils.c
+++ b/src/glib-utils.c
@@ -1052,7 +1052,7 @@ _g_filename_get_extension (const char *filename)
        if (ext - 4 > filename) {
                const char *test = ext - 4;
                /* .tar.rz cannot be uncompressed in one step */
-               if (strncmp (test, ".tar", 4) == 0 && strncmp(ext, ".rz", 2) != 0)
+               if ((strncmp (test, ".tar", 4) == 0) && (strncmp (ext, ".rz", 2) != 0))
                        ext = ext - 4;
        }
        return ext;


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