summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/wps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/wps.c b/apps/wps.c
index 82f80dd0ce..c970f6ee76 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -221,11 +221,11 @@ int wps_load_custom_config(void)
221 int i; 221 int i;
222 int fd; 222 int fd;
223 struct mp3entry* id3 = NULL; 223 struct mp3entry* id3 = NULL;
224
225 id3 = mpeg_current_track();
226 char ch = '/'; 224 char ch = '/';
227 char* szLast = strrchr(id3->path, ch); 225 char* szLast;
228 226
227 szLast = strrchr(id3->path, ch);
228 id3 = mpeg_current_track();
229 snprintf(buffer, sizeof(buffer), ""); 229 snprintf(buffer, sizeof(buffer), "");
230 lcd_stop_scroll(); 230 lcd_stop_scroll();
231 fd = open("/wps.config", O_RDONLY); 231 fd = open("/wps.config", O_RDONLY);