From: Daniel Carl <danielcarl@gmx.de>
Date: Mon, 31 Dec 2012 13:49:47 +0000 (+0100)
Subject: Fixed missed mode to remove keybinds.
X-Git-Url: https://git.owens.tech/assets/wrapped.html/assets/wrapped.html/git?a=commitdiff_plain;h=f51934376104bba89b8bf680f2d7ae48ccebe11e;p=vimb.git

Fixed missed mode to remove keybinds.
---

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;