diff options
| author | Alexander Levin <al.le@rockbox.org> | 2011-01-02 22:41:35 +0000 |
|---|---|---|
| committer | Alexander Levin <al.le@rockbox.org> | 2011-01-02 22:41:35 +0000 |
| commit | a6b611a6d65bb18a66b5b89742ee714d56526007 (patch) | |
| tree | b98f501ccb41b54d3fbc3ba2b4bda56142969997 /apps/settings.c | |
| parent | f8f91d05217ba8004c716b7174afc9d81001d0a5 (diff) | |
| download | rockbox-a6b611a6d65bb18a66b5b89742ee714d56526007.zip rockbox-a6b611a6d65bb18a66b5b89742ee714d56526007.tar.gz rockbox-a6b611a6d65bb18a66b5b89742ee714d56526007.tar.bz2 rockbox-a6b611a6d65bb18a66b5b89742ee714d56526007.tar.xz | |
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
Diffstat (limited to 'apps/settings.c')
| -rw-r--r-- | apps/settings.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c index 848c7c1..1e96c05 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"); |