From a6b611a6d65bb18a66b5b89742ee714d56526007 Mon Sep 17 00:00:00 2001 From: Alexander Levin Date: Sun, 2 Jan 2011 22:41:35 +0000 Subject: [PATCH] Don't load the keyboard layout '-.kbd' (partial fix for FS#11847) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28948 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/settings.c b/apps/settings.c index 848c7c14f2..1e96c051b0 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -899,7 +899,8 @@ void settings_apply(bool read_disk) else font_load_remoteui(NULL); #endif - if ( global_settings.kbd_file[0]) { + if ( global_settings.kbd_file[0] + && global_settings.kbd_file[0] != '-') { snprintf(buf, sizeof buf, ROCKBOX_DIR "/%s.kbd", global_settings.kbd_file); CHART(">load_kbd");