aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-02-02 08:02:14 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-02-02 08:02:14 +0000
commit0f5e09dd70529b40cbe9ada65aabac319e5513ff (patch)
tree5db53ba3ba7a4427b726d0509c37a8349ea9a639
parent3bbef2f7262d1af7788c20e9ed12bea3dbc40e3b (diff)
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
-rw-r--r--src/addr_compl.c2
1 files changed, 1 insertions, 1 deletions
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;