diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/gwps.c | 2 | ||||
-rw-r--r-- | apps/onplay.c | 4 | ||||
-rw-r--r-- | apps/settings.c | 2 | ||||
-rw-r--r-- | apps/tree.c | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index e31ac12110..024c3cc79f 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c | |||
@@ -109,7 +109,7 @@ long gui_wps_show(void) | |||
109 | { | 109 | { |
110 | gui_wps_set_margin(&gui_wps[i]); | 110 | gui_wps_set_margin(&gui_wps[i]); |
111 | } | 111 | } |
112 | #if HAVE_LCD_COLOR | 112 | #ifdef HAVE_LCD_COLOR |
113 | old_backdrop = lcd_get_backdrop(); | 113 | old_backdrop = lcd_get_backdrop(); |
114 | if (wps_has_backdrop) { | 114 | if (wps_has_backdrop) { |
115 | lcd_set_backdrop(&wps_backdrop[0][0]); | 115 | lcd_set_backdrop(&wps_backdrop[0][0]); |
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) | |||
539 | { | 539 | { |
540 | struct menu_item items[8]; /* increase this if you add entries! */ | 540 | struct menu_item items[8]; /* increase this if you add entries! */ |
541 | int m, i=0, result; | 541 | int m, i=0, result; |
542 | #if HAVE_LCD_COLOR | 542 | #ifdef HAVE_LCD_COLOR |
543 | char *suffix; | 543 | char *suffix; |
544 | #endif | 544 | #endif |
545 | 545 | ||
@@ -604,7 +604,7 @@ int onplay(char* file, int attr, int from) | |||
604 | items[i].function = delete_file; | 604 | items[i].function = delete_file; |
605 | i++; | 605 | i++; |
606 | 606 | ||
607 | #if HAVE_LCD_COLOR | 607 | #ifdef HAVE_LCD_COLOR |
608 | suffix = strrchr(file, '.'); | 608 | suffix = strrchr(file, '.'); |
609 | if (suffix) { | 609 | if (suffix) { |
610 | if (strcasecmp(suffix, ".bmp") == 0) { | 610 | if (strcasecmp(suffix, ".bmp") == 0) { |
diff --git a/apps/settings.c b/apps/settings.c index 3d94df3e4c..07db21ef66 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -72,7 +72,7 @@ | |||
72 | #include "statusbar.h" | 72 | #include "statusbar.h" |
73 | #include "splash.h" | 73 | #include "splash.h" |
74 | #include "list.h" | 74 | #include "list.h" |
75 | #if HAVE_LCD_COLOR | 75 | #ifdef HAVE_LCD_COLOR |
76 | #include "backdrop.h" | 76 | #include "backdrop.h" |
77 | #endif | 77 | #endif |
78 | 78 | ||
diff --git a/apps/tree.c b/apps/tree.c index b61ed0a43d..e91eb4b16f 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -864,18 +864,18 @@ static bool dirbrowse(void) | |||
864 | if (start_wps && audio_status() ) | 864 | if (start_wps && audio_status() ) |
865 | { | 865 | { |
866 | int i; | 866 | int i; |
867 | #if HAVE_LCD_COLOR | 867 | #ifdef HAVE_LCD_COLOR |
868 | fb_data* old_backdrop; | 868 | fb_data* old_backdrop; |
869 | #endif | 869 | #endif |
870 | 870 | ||
871 | FOR_NB_SCREENS(i) | 871 | FOR_NB_SCREENS(i) |
872 | screens[i].stop_scroll(); | 872 | screens[i].stop_scroll(); |
873 | #if HAVE_LCD_COLOR | 873 | #ifdef HAVE_LCD_COLOR |
874 | old_backdrop = lcd_get_backdrop(); | 874 | old_backdrop = lcd_get_backdrop(); |
875 | #endif | 875 | #endif |
876 | if (gui_wps_show() == SYS_USB_CONNECTED) | 876 | if (gui_wps_show() == SYS_USB_CONNECTED) |
877 | reload_dir = true; | 877 | reload_dir = true; |
878 | #if HAVE_LCD_COLOR | 878 | #ifdef HAVE_LCD_COLOR |
879 | lcd_set_backdrop(old_backdrop); | 879 | lcd_set_backdrop(old_backdrop); |
880 | #endif | 880 | #endif |
881 | #ifdef HAVE_HOTSWAP | 881 | #ifdef HAVE_HOTSWAP |