[dia] Fix gccism



commit ec9a8ad0e9432f368ec95fc5702b0670dfdc012a
Author: Hans Breuer <hans breuer org>
Date:   Sun Jun 28 18:00:41 2009 +0200

    Fix gccism

 lib/intl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/intl.c b/lib/intl.c
index 774a3d8..14c8c55 100644
--- a/lib/intl.c
+++ b/lib/intl.c
@@ -24,7 +24,7 @@ intl_score_locale(const gchar *locale)
       break;
     ++i;
   }
-  if (!names[i] != NULL) /* not found */
+  if (names[i] == NULL) /* not found */
     i = G_MAXINT;
   return i;
 }



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