summaryrefslogtreecommitdiff
path: root/plugins/gtkui/hotkeys.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtkui/hotkeys.c')
-rw-r--r--plugins/gtkui/hotkeys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/hotkeys.c b/plugins/gtkui/hotkeys.c
index 0963c5d9..f13fbee1 100644
--- a/plugins/gtkui/hotkeys.c
+++ b/plugins/gtkui/hotkeys.c
@@ -184,7 +184,7 @@ hotkeys_save (void) {
gtk_tree_model_get_value (GTK_TREE_MODEL (hkstore), &iter, 5, &context);
gtk_tree_model_get_value (GTK_TREE_MODEL (hkstore), &iter, 3, &global);
char key[100];
- snprintf (key, sizeof (key), "hotkey.key%d", i);
+ snprintf (key, sizeof (key), "hotkey.key%02d", i);
char value[1000];
snprintf (value, sizeof (value), "\"%s\" %d %d %s", g_value_get_string (&keycombo), g_value_get_int (&context), g_value_get_boolean (&global), g_value_get_string (&action));
deadbeef->conf_set_str (key, value);