From 00d6cfd389ed5fcd4d0e32ff6fb23fbff01bf1ee Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Tue, 26 May 2009 20:26:05 +0000 Subject: Fix yellow when building with HAVE_ALBUMART, without HAVE_JPEG/HAVE_BMP_SCALING. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21092 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/resize.c | 2 +- apps/recorder/resize.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/recorder') diff --git a/apps/recorder/resize.c b/apps/recorder/resize.c index 3a0ad8d75b..bae72c8113 100644 --- a/apps/recorder/resize.c +++ b/apps/recorder/resize.c @@ -858,7 +858,7 @@ int resize_on_load(struct bitmap *bm, bool dither, struct dim *src, #endif if (format) #endif -#if defined(HAVE_LCD_COLOR) && (defined(HAVE_JPEG) || defined(PLUGIN)) +#ifdef HAVE_LCD_COLOR ctx.output_row = format->output_row_32[format_index]; #else ctx.output_row = format->output_row_32; diff --git a/apps/recorder/resize.h b/apps/recorder/resize.h index ef32066a0d..d71a3e7f1c 100644 --- a/apps/recorder/resize.h +++ b/apps/recorder/resize.h @@ -143,7 +143,7 @@ struct scaler_context { bool (*h_scaler)(void*,struct scaler_context*, bool); }; -#if defined(HAVE_LCD_COLOR) && (defined(HAVE_JPEG) || defined(PLUGIN)) +#if defined(HAVE_LCD_COLOR) #define IF_PIX_FMT(...) __VA_ARGS__ #else #define IF_PIX_FMT(...) -- cgit v1.2.3