From 3aa738fe43322bee14529935512e36ba0dd6dbfb Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 23 Aug 2009 16:43:55 +0000 Subject: hopefully get the widecabbie theme going again... temporary fix only though git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22474 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_buffer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ #include "buffer.h" #include "settings.h" #include "screen_access.h" +#include "wps_internals.h" +#include "skin_tokens.h" /* skin buffer management. * This module is used to allocate space in a single global skin buffer for @@ -61,7 +63,8 @@ #endif -#define SKIN_BUFFER_SIZE (MAIN_BUFFER + REMOTE_BUFFER) +#define SKIN_BUFFER_SIZE (MAIN_BUFFER + REMOTE_BUFFER) + \ + (WPS_MAX_TOKENS * sizeof(struct wps_token)) static unsigned char buffer[SKIN_BUFFER_SIZE]; -- cgit v1.2.3