diff options
Diffstat (limited to 'apps/recorder/bmp.c')
-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 | ||