From c812614a1dd8453da438a153bf2ec4e62d1fa101 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 4 Nov 2009 05:24:30 +0000 Subject: 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 --- apps/gui/wps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/gui/wps.c') 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) #endif /* __PCTOOL__ */ - loaded_ok = buf && skin_data_load(gui_wps[screen].data, buf, isfile); + loaded_ok = buf && skin_data_load(screen, gui_wps[screen].data, buf, isfile); if (!loaded_ok) /* load the hardcoded default */ { @@ -151,7 +151,7 @@ void wps_data_load(enum screen_type screen, const char *buf, bool isfile) "%pb\n", #endif }; - skin_data_load(gui_wps[screen].data, skin_buf[screen], false); + skin_data_load(screen, gui_wps[screen].data, skin_buf[screen], false); } #ifdef HAVE_REMOVE_LCD gui_wps[screen].data->remote_wps = !(screen == SCREEN_MAIN); -- cgit v1.2.3