summaryrefslogtreecommitdiff
path: root/apps/gui/wps.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-11-04 05:24:30 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-11-04 05:24:30 +0000
commitc812614a1dd8453da438a153bf2ec4e62d1fa101 (patch)
tree0d765f69d8b4e4e76bfc673b446278448a7a73fe /apps/gui/wps.c
parenta7d784b1d5912b68ca9d921961639fe948404811 (diff)
downloadrockbox-c812614a1dd8453da438a153bf2ec4e62d1fa101.tar.gz
rockbox-c812614a1dd8453da438a153bf2ec4e62d1fa101.zip
Fix the WPS to work properly with the statusbar for the previous change.. Side effect is it fixes FS#10721 where %pb didnt work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23508 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r--apps/gui/wps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index 646f6b4003..4f162f452a 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -127,7 +127,7 @@ void wps_data_load(enum screen_type screen, const char *buf, bool isfile)
127 127
128#endif /* __PCTOOL__ */ 128#endif /* __PCTOOL__ */
129 129
130 loaded_ok = buf && skin_data_load(gui_wps[screen].data, buf, isfile); 130 loaded_ok = buf && skin_data_load(screen, gui_wps[screen].data, buf, isfile);
131 131
132 if (!loaded_ok) /* load the hardcoded default */ 132 if (!loaded_ok) /* load the hardcoded default */
133 { 133 {
@@ -151,7 +151,7 @@ void wps_data_load(enum screen_type screen, const char *buf, bool isfile)
151 "%pb\n", 151 "%pb\n",
152#endif 152#endif
153 }; 153 };
154 skin_data_load(gui_wps[screen].data, skin_buf[screen], false); 154 skin_data_load(screen, gui_wps[screen].data, skin_buf[screen], false);
155 } 155 }
156#ifdef HAVE_REMOVE_LCD 156#ifdef HAVE_REMOVE_LCD
157 gui_wps[screen].data->remote_wps = !(screen == SCREEN_MAIN); 157 gui_wps[screen].data->remote_wps = !(screen == SCREEN_MAIN);