From 0f5e09dd70529b40cbe9ada65aabac319e5513ff Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 2 Feb 2010 08:02:14 +0000 Subject: don't open completion menu if entry equals to the completed address (warning fix). git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2452 ee746299-78ed-0310-b773-934348b2243d --- src/addr_compl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addr_compl.c b/src/addr_compl.c index 0cdfb2e3..25d31a43 100644 --- a/src/addr_compl.c +++ b/src/addr_compl.c @@ -754,7 +754,7 @@ static gboolean address_completion_entry_key_pressed(GtkEntry *entry, static gboolean address_completion_complete_address_in_entry(GtkEntry *entry, gboolean next) { - gint ncount, cursor_pos; + gint ncount = 0, cursor_pos; gchar *address, *new = NULL; gboolean completed = FALSE; -- cgit v1.2.3