mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Should fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21082 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
244afc0a0f
commit
d2ea7db6f5
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue