summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_buffer.c')
-rw-r--r--apps/gui/skin_engine/skin_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_buffer.c b/apps/gui/skin_engine/skin_buffer.c
index 6d6a1ae179..57b80f1672 100644
--- a/apps/gui/skin_engine/skin_buffer.c
+++ b/apps/gui/skin_engine/skin_buffer.c
@@ -59,7 +59,7 @@
+ (SKINNABLE_SCREENS_COUNT * LCD_BACKDROP_BYTES))
#if (NB_SCREENS > 1)
-#define REMOTE_BUFFER (2*REMOTE_LCD_BACKDROP_BYTES) \
+#define REMOTE_BUFFER ((2*REMOTE_LCD_BACKDROP_BYTES) \
+ (SKINNABLE_SCREENS_COUNT * REMOTE_LCD_BACKDROP_BYTES))
#else
#define REMOTE_BUFFER 0