summaryrefslogtreecommitdiffstats
path: root/apps/onplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 167889e824..17b4d1591b 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -539,7 +539,7 @@ int onplay(char* file, int attr, int from)
{
struct menu_item items[8]; /* increase this if you add entries! */
int m, i=0, result;
-#if HAVE_LCD_COLOR
+#ifdef HAVE_LCD_COLOR
char *suffix;
#endif
@@ -604,7 +604,7 @@ int onplay(char* file, int attr, int from)
items[i].function = delete_file;
i++;
-#if HAVE_LCD_COLOR
+#ifdef HAVE_LCD_COLOR
suffix = strrchr(file, '.');
if (suffix) {
if (strcasecmp(suffix, ".bmp") == 0) {