diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-05-25 20:15:02 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-05-25 20:15:02 +0000 |
commit | d2ea7db6f55cbb121870ecd41d4d80581354b799 (patch) | |
tree | 3dbee2dfa630f382a6d44a1debae53e29b8ddb04 /apps/recorder | |
parent | 244afc0a0faa24719aba1cf5d2cfa4fbf6f61258 (diff) | |
download | rockbox-d2ea7db6f55cbb121870ecd41d4d80581354b799.tar.gz rockbox-d2ea7db6f55cbb121870ecd41d4d80581354b799.zip |
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.c | 3 |
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, | |||
598 | 598 | ||
599 | if(return_size) | 599 | if(return_size) |
600 | { | 600 | { |
601 | #if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \ | ||
602 | defined(HAVE_BMP_SCALING) || defined(PLUGIN) | ||
601 | if(resize) | 603 | if(resize) |
602 | totalsize += BM_SCALED_SIZE(bm->width, 0, 0, 0); | 604 | totalsize += BM_SCALED_SIZE(bm->width, 0, 0, 0); |
605 | #endif | ||
603 | return totalsize; | 606 | return totalsize; |
604 | } | 607 | } |
605 | 608 | ||