[Xfce4-commits] <thunar:andrzejr/utf8_collate> Coding style fix.

Andrzej noreply at xfce.org
Tue May 1 16:18:01 CEST 2012


Updating branch refs/heads/andrzejr/utf8_collate
         to 0453a720ee9f354447ca351cabf5d5cdf4838e08 (commit)
       from 877a761a745629a85da12cb07f8aa9f1d65097af (commit)

commit 0453a720ee9f354447ca351cabf5d5cdf4838e08
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Tue May 1 23:16:45 2012 +0900

    Coding style fix.

 thunar/thunar-file.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index ea36864..a4d288b 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -3320,13 +3320,13 @@ thunar_file_compare_by_name (const ThunarFile *file_a,
 #endif
 
   /* check if we should ignore case */
-  if (case_sensitive == FALSE)
+  if (!case_sensitive)
     {
       result = strcmp (file_a->collate_key_nocase, file_b->collate_key_nocase);
     }
 
   /* if case sensitive or if ci comparison didn't find a difference */
-  if (case_sensitive == TRUE || result == 0)
+  if (case_sensitive || result == 0)
     {
       result = strcmp (file_a->collate_key_case, file_b->collate_key_case);
     }


More information about the Xfce4-commits mailing list