summaryrefslogtreecommitdiff
path: root/plugins/gtkui/hotkeys.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-11-18 21:38:23 +0100
committerGravatar waker <wakeroid@gmail.com>2012-11-18 21:38:23 +0100
commitfba6212130c703cd43312ef8c7127989b38474d0 (patch)
tree5bbd29d51cefb11f31fcfbbea99493ed43c4faca /plugins/gtkui/hotkeys.c
parentdae6ed6ac77ae5e98496189f3a7d70d883245156 (diff)
correct hotkeys sort order in config file
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);