diff options
author | Cristian Henzel <CristianHenzel@users.noreply.github.com> | 2018-06-29 14:17:45 +0300 |
---|---|---|
committer | Dmitry Smirnov <onlyjob@debian.org> | 2018-07-07 08:03:38 +0200 |
commit | b81d94d40b1ef11b873e9e8e37cb3a077aa8c7ea (patch) | |
tree | 2284bf8a45914a867fdd17848ee729baaf333002 | |
parent | f38d473465c8854dfe70a87cd88bf6aedf15e8c3 (diff) |
[PATCH] Initialize count
Gbp-Pq: Name 91.patch
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -555,7 +555,7 @@ gboolean selected_by_input(const GtkWidget *history_menu, const GdkEventKey *eve GtkMenuItem *menu_item, *first_match = 0; const gchar* menu_label; - int count, match_count = 0; + int count = 0, match_count = 0; char* match; while (element->next != NULL && count < prefs.items_menu) { |