summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r--apps/gui/skin_engine/skin_parser.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 892bb3d933..639c81ed17 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -55,9 +55,6 @@
55 55
56#include "backdrop.h" 56#include "backdrop.h"
57 57
58#define WPS_DEFAULTCFG WPS_DIR "/rockbox_default.wps"
59#define RWPS_DEFAULTCFG WPS_DIR "/rockbox_default.rwps"
60
61#define WPS_ERROR_INVALID_PARAM -1 58#define WPS_ERROR_INVALID_PARAM -1
62 59
63/* level of current conditional. 60/* level of current conditional.
@@ -1691,27 +1688,6 @@ bool skin_data_load(struct wps_data *wps_data,
1691 } 1688 }
1692 else 1689 else
1693 { 1690 {
1694 /*
1695 * Hardcode loading WPS_DEFAULTCFG to cause a reset ideally this
1696 * wants to be a virtual file. Feel free to modify dirbrowse()
1697 * if you're feeling brave.
1698 */
1699#ifndef __PCTOOL__
1700 if (! strcmp(buf, WPS_DEFAULTCFG) )
1701 {
1702 global_settings.wps_file[0] = 0;
1703 return false;
1704 }
1705
1706#ifdef HAVE_REMOTE_LCD
1707 if (! strcmp(buf, RWPS_DEFAULTCFG) )
1708 {
1709 global_settings.rwps_file[0] = 0;
1710 return false;
1711 }
1712#endif
1713#endif /* __PCTOOL__ */
1714
1715 int fd = open_utf8(buf, O_RDONLY); 1691 int fd = open_utf8(buf, O_RDONLY);
1716 1692
1717 if (fd < 0) 1693 if (fd < 0)