1
0
Fork 0
forked from len0rd/rockbox

Properly generate (with "Save Theme Settings") and handle filename settings with "-".

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24816 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-02-21 20:34:27 +00:00
parent 3d6faa08bf
commit ec0ca10ddf
3 changed files with 21 additions and 12 deletions

View file

@ -47,7 +47,8 @@
*/
static int clear_main_backdrop(void)
{
global_settings.backdrop_file[0]=0;
global_settings.backdrop_file[0] = '-';
global_settings.backdrop_file[1] = '\0';
sb_set_backdrop(SCREEN_MAIN, NULL);
viewportmanager_theme_enable(SCREEN_MAIN, false, NULL);
viewportmanager_theme_undo(SCREEN_MAIN, true);