[gnome-commander/gcmd-1-2-8] Revert the bug introduced in commit d91fbecdd4d25c9421a217bdb2ffb137397f5cd3



commit e3c2461484681bba55edb77f43a57ab03b20df09
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu Sep 30 22:01:11 2010 +0200

    Revert the bug introduced in commit d91fbecdd4d25c9421a217bdb2ffb137397f5cd3

 src/filter.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/filter.h b/src/filter.h
index 6d53efa..220cde0 100644
--- a/src/filter.h
+++ b/src/filter.h
@@ -47,7 +47,7 @@ struct Filter
 inline gboolean gnome_cmd_filter_fnmatch (const gchar *pattern, const gchar *string, gboolean case_sens)
 {
 #ifdef FNM_CASEFOLD
-    return pattern && string && fnmatch (pattern, string, case_sens ? FNM_NOESCAPE|FNM_CASEFOLD : FNM_NOESCAPE)==0;
+    return pattern && string && fnmatch (pattern, string, case_sens ? FNM_NOESCAPE : FNM_NOESCAPE|FNM_CASEFOLD)==0;
 #else
     return pattern && string && fnmatch (pattern, string, FNM_NOESCAPE) == 0;
 #endif



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