From d3fd3a372b728fea2b893653b4c90a7c1146ff3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Sat, 24 Jul 2010 10:51:58 +0000 Subject: [PATCH] s/HAVE_LCD_REMOTE/HAVE_REMOTE_LCD/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27539 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lrcplayer.c | 8 ++++---- apps/recorder/bmp.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/plugins/lrcplayer.c b/apps/plugins/lrcplayer.c index cf5c07bfc6..43f3b8e359 100644 --- a/apps/plugins/lrcplayer.c +++ b/apps/plugins/lrcplayer.c @@ -1661,7 +1661,7 @@ static void display_time(void) static inline void set_to_default(struct screen *display) { #if (LCD_DEPTH > 1) -#ifdef HAVE_LCD_REMOTE +#ifdef HAVE_REMOTE_LCD if (display->screen_type != SCREEN_REMOTE) #endif display->set_foreground(prefs.active_color); @@ -1671,7 +1671,7 @@ static inline void set_to_default(struct screen *display) static inline void set_to_active(struct screen *display) { #if (LCD_DEPTH > 1) -#ifdef HAVE_LCD_REMOTE +#ifdef HAVE_REMOTE_LCD if (display->screen_type == SCREEN_REMOTE) display->set_drawmode(DRMODE_INVERSEVID); else @@ -1687,7 +1687,7 @@ static inline void set_to_active(struct screen *display) static inline void set_to_inactive(struct screen *display) { #if (LCD_DEPTH > 1) -#ifdef HAVE_LCD_REMOTE +#ifdef HAVE_REMOTE_LCD if (display->screen_type != SCREEN_REMOTE) #endif display->set_foreground(prefs.inactive_color); @@ -1796,7 +1796,7 @@ static int display_lrc_line(struct lrc_line *lrc_line, int ypos, int i) display->fillrect(xpos+elapsed, ypos, w-elapsed, font_ui_height); #if (LCD_DEPTH > 1) -#ifdef HAVE_LCD_REMOTE +#ifdef HAVE_REMOTE_LCD if (display->screen_type == SCREEN_REMOTE) display->set_drawmode(DRMODE_INVERSEVID); else diff --git a/apps/recorder/bmp.h b/apps/recorder/bmp.h index c6a34dfd94..31bd0730bd 100644 --- a/apps/recorder/bmp.h +++ b/apps/recorder/bmp.h @@ -133,7 +133,7 @@ extern const unsigned short vi_pattern[4]; #endif /* Number of data elements in a remote native bitmap width pixels wide */ -#ifdef HAVE_LCD_REMOTE +#ifdef HAVE_REMOTE_LCD #if LCD_REMOTE_DEPTH == 2 && LCD_REMOTE_PIXELFORMAT == HORIZONTAL_PACKING #define LCD_REMOTE_BM_WIDTH(width) (((width) + 3) >> 2) #else