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:
parent
f8f91d0521
commit
a6b611a6d6
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue