summaryrefslogtreecommitdiff
path: root/apps/wps-display.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-09-29 22:37:27 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-09-29 22:37:27 +0000
commit82542493806f0854e816aeeedbd16f82b3144a26 (patch)
tree68317335c075f84246614ecc700e18d8d01b6c6c /apps/wps-display.c
parent5f8ac6d677963835c4c2bbec57bff031ec5ba89e (diff)
Don't keep trying to load a non-existing default.wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2444 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r--apps/wps-display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index ac423c740a..822b1875e0 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -117,6 +117,8 @@ bool wps_load_custom(char* file)
int fd;
bool special = true;
+ wps_loaded = true;
+
/* default wps file? */
if (!file) {
file = WPS_CONFIG;
@@ -149,7 +151,6 @@ bool wps_load_custom(char* file)
sleep(HZ);
}
- wps_loaded = true;
return numread > 0;
}