[gnome-builder/wip/plugins] fuzzy: fix search lookups



commit 3c743f785a9c7862a88a54603999dae334f70a03
Author: Christian Hergert <christian hergert me>
Date:   Fri Jun 12 20:39:13 2015 -0700

    fuzzy: fix search lookups

 contrib/search/fuzzy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/contrib/search/fuzzy.c b/contrib/search/fuzzy.c
index d0fe373..7ec66d3 100644
--- a/contrib/search/fuzzy.c
+++ b/contrib/search/fuzzy.c
@@ -431,7 +431,7 @@ fuzzy_match (Fuzzy       *fuzzy,
       gunichar ch;
       GArray *table;
 
-      ch = g_utf8_get_char (needle);
+      ch = g_utf8_get_char (tmp);
       table = g_hash_table_lookup (fuzzy->char_tables, GINT_TO_POINTER (ch));
 
       if (table == NULL)


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