summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-25 20:15:02 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-25 20:15:02 +0000
commitd2ea7db6f55cbb121870ecd41d4d80581354b799 (patch)
tree3dbee2dfa630f382a6d44a1debae53e29b8ddb04 /apps/recorder
parent244afc0a0faa24719aba1cf5d2cfa4fbf6f61258 (diff)
Should fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21082 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/bmp.c3
1 files changed, 3 insertions, 0 deletions
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;
}