From d2ea7db6f55cbb121870ecd41d4d80581354b799 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Mon, 25 May 2009 20:15:02 +0000 Subject: Should fix red git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21082 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/bmp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index 2968af35da..1d5d378708 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c @@ -598,8 +598,11 @@ int read_bmp_fd(int fd, if(return_size) { +#if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \ + defined(HAVE_BMP_SCALING) || defined(PLUGIN) if(resize) totalsize += BM_SCALED_SIZE(bm->width, 0, 0, 0); +#endif return totalsize; } -- cgit v1.2.3