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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_buffer.c b/apps/gui/skin_engine/skin_buffer.c
index 70716c1c60..2fdc7f1c84 100644
--- a/apps/gui/skin_engine/skin_buffer.c
+++ b/apps/gui/skin_engine/skin_buffer.c
@@ -27,6 +27,8 @@
27#include "buffer.h" 27#include "buffer.h"
28#include "settings.h" 28#include "settings.h"
29#include "screen_access.h" 29#include "screen_access.h"
30#include "wps_internals.h"
31#include "skin_tokens.h"
30 32
31/* skin buffer management. 33/* skin buffer management.
32 * This module is used to allocate space in a single global skin buffer for 34 * This module is used to allocate space in a single global skin buffer for
@@ -61,7 +63,8 @@
61#endif 63#endif
62 64
63 65
64#define SKIN_BUFFER_SIZE (MAIN_BUFFER + REMOTE_BUFFER) 66#define SKIN_BUFFER_SIZE (MAIN_BUFFER + REMOTE_BUFFER) + \
67 (WPS_MAX_TOKENS * sizeof(struct wps_token))
65 68
66 69
67static unsigned char buffer[SKIN_BUFFER_SIZE]; 70static unsigned char buffer[SKIN_BUFFER_SIZE];