summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-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 2968af3..1d5d378 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;
}