summaryrefslogtreecommitdiff
path: root/apps/menus/theme_menu.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-02-21 20:34:27 +0000
committerThomas Martitz <kugel@rockbox.org>2010-02-21 20:34:27 +0000
commitec0ca10ddf58604d8ce2a5f73cedabbaa8965a75 (patch)
treeaf46ec42a418275ae162c349766c77db891fdbe8 /apps/menus/theme_menu.c
parent3d6faa08bf95da6e0f65a070a11f014e78c0b682 (diff)
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
Diffstat (limited to 'apps/menus/theme_menu.c')
-rw-r--r--apps/menus/theme_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/menus/theme_menu.c b/apps/menus/theme_menu.c
index 7c19335df9..038f9079d9 100644
--- a/apps/menus/theme_menu.c
+++ b/apps/menus/theme_menu.c
@@ -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);