summaryrefslogtreecommitdiff
path: root/apps/gui/wps.c
diff options
context:
space:
mode:
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);