Should fix red

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21082 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-05-25 20:15:02 +00:00
parent 244afc0a0f
commit d2ea7db6f5

View file

@ -598,8 +598,11 @@ int read_bmp_fd(int fd,
if(return_size) if(return_size)
{ {
#if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \
defined(HAVE_BMP_SCALING) || defined(PLUGIN)
if(resize) if(resize)
totalsize += BM_SCALED_SIZE(bm->width, 0, 0, 0); totalsize += BM_SCALED_SIZE(bm->width, 0, 0, 0);
#endif
return totalsize; return totalsize;
} }