summaryrefslogtreecommitdiff
path: root/apps/filetree.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2005-12-09 01:11:14 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2005-12-09 01:11:14 +0000
commit53a56c159383ad608e9f76e49c164d10be850b69 (patch)
tree1fd102fddd5bda4286047ab56af23b6bf6cd5869 /apps/filetree.c
parent8e44d4bdc7c5d3f8afe98ad70e1de533c9df9bbe (diff)
downloadrockbox-53a56c159383ad608e9f76e49c164d10be850b69.tar.gz
rockbox-53a56c159383ad608e9f76e49c164d10be850b69.zip
don't display the WPS after loading, it made rockbox crash with some WPS'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8209 a1c6a512-1295-4272-9138-f99709370657
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 b870f969b5..cb21b71eec 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -381,7 +381,7 @@ int ft_enter(struct tree_context* c)
381 381
382 /* wps config file */ 382 /* wps config file */
383 case TREE_ATTR_WPS: 383 case TREE_ATTR_WPS:
384 wps_data_load(gui_wps[0].data, buf, true, true); 384 wps_data_load(gui_wps[0].data, buf, true);
385 set_file(buf, (char *)global_settings.wps_file, 385 set_file(buf, (char *)global_settings.wps_file,
386 MAX_FILENAME); 386 MAX_FILENAME);
387 break; 387 break;
@@ -389,7 +389,7 @@ int ft_enter(struct tree_context* c)
389#if defined(HAVE_REMOTE_LCD) && (NB_SCREENS > 1) 389#if defined(HAVE_REMOTE_LCD) && (NB_SCREENS > 1)
390 /* remote-wps config file */ 390 /* remote-wps config file */
391 case TREE_ATTR_RWPS: 391 case TREE_ATTR_RWPS:
392 wps_data_load(gui_wps[1].data, buf, true, true); 392 wps_data_load(gui_wps[1].data, buf, true);
393 set_file(buf, (char *)global_settings.rwps_file, 393 set_file(buf, (char *)global_settings.rwps_file,
394 MAX_FILENAME); 394 MAX_FILENAME);
395 break; 395 break;