--- a/gntentry.c Sat Aug 14 05:17:38 2010 +0000
+++ b/gntentry.c Mon Aug 23 00:52:24 2010 +0000
@@ -481,7 +481,6 @@
GntEntry *entry = GNT_ENTRY(bind);
if (entry->history->prev && entry->search->needle)
current = entry->search->needle;
@@ -491,8 +490,6 @@
if (!entry->histlength || !entry->history->next || !*current)
- len = g_utf8_strlen(current, -1);
for (iter = entry->history->next; iter; iter = iter->next) {
const char *str = iter->data;
/* A more utf8-friendly version of strstr would have been better, but