summaryrefslogtreecommitdiff
path: root/apps/filetree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/filetree.c')
-rw-r--r--apps/filetree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/filetree.c b/apps/filetree.c
index 6855d3ec5d..236ee487d7 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -384,7 +384,7 @@ int ft_enter(struct tree_context* c)
384 384
385 /* wps config file */ 385 /* wps config file */
386 case TREE_ATTR_WPS: 386 case TREE_ATTR_WPS:
387 wps_data_load(gui_syncwps.gui_wps[0].data, buf, true, true); 387 wps_data_load(gui_wps[0].data, buf, true, true);
388 set_file(buf, global_settings.wps_file, 388 set_file(buf, global_settings.wps_file,
389 MAX_FILENAME); 389 MAX_FILENAME);
390 break; 390 break;
@@ -392,7 +392,7 @@ int ft_enter(struct tree_context* c)
392#ifdef HAVE_REMOTE_LCD 392#ifdef HAVE_REMOTE_LCD
393 /* remote-wps config file */ 393 /* remote-wps config file */
394 case TREE_ATTR_RWPS: 394 case TREE_ATTR_RWPS:
395 wps_data_load(gui_syncwps.gui_wps[1].data, buf, true, true); 395 wps_data_load(gui_wps[1].data, buf, true, true);
396 set_file(buf, global_settings.rwps_file, 396 set_file(buf, global_settings.rwps_file,
397 MAX_FILENAME); 397 MAX_FILENAME);
398 break; 398 break;