diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/skin_engine/skin_buffer.c | 5 |
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 | ||
67 | static unsigned char buffer[SKIN_BUFFER_SIZE]; | 70 | static unsigned char buffer[SKIN_BUFFER_SIZE]; |