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
This commit is contained in:
Alexander Levin 2011-01-02 22:41:35 +00:00
parent f8f91d0521
commit a6b611a6d6

View file

@ -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");