diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-08-23 16:43:55 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-08-23 16:43:55 +0000 |
| commit | 3aa738fe43322bee14529935512e36ba0dd6dbfb (patch) | |
| tree | d143b051fc17e67f1c2fefd17f80b03c5e023cad /apps | |
| parent | 8d6ca6a1d4c0ebdcc5d3d0e85335cfd7803adca0 (diff) | |
| download | rockbox-3aa738fe43322bee14529935512e36ba0dd6dbfb.zip rockbox-3aa738fe43322bee14529935512e36ba0dd6dbfb.tar.gz rockbox-3aa738fe43322bee14529935512e36ba0dd6dbfb.tar.bz2 rockbox-3aa738fe43322bee14529935512e36ba0dd6dbfb.tar.xz | |
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
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 70716c1..2fdc7f1 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]; |