From f51934376104bba89b8bf680f2d7ae48ccebe11e Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Mon, 31 Dec 2012 14:49:47 +0100
Subject: [PATCH] Fixed missed mode to remove keybinds.

---
 src/keybind.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/keybind.c b/src/keybind.c
index 732c1e2..ed86337 100644
--- a/src/keybind.c
+++ b/src/keybind.c
@@ -87,7 +87,7 @@ gboolean keybind_add_from_string(const gchar* str, const Mode mode)
 gboolean keybind_remove_from_string(const gchar* str, const Mode mode)
 {
     gchar* line = NULL;
-    Keybind keybind = {0};
+    Keybind keybind = {.mode = mode};
 
     if (str == NULL || *str == '\0') {
         return FALSE;
-- 
2.20.1