[gnome-builder] fuzzy: fix search lookups



commit 85122b2fff822e285f41cad95e1870d1989a3e26
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]