diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-08-14 15:23:07 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-08-14 15:23:07 +0000 |
commit | b9093f22dd7e7be25e69180652537f5988f854e6 (patch) | |
tree | b294c2888ff9f9154d99ed4c182ee56c39817a39 /apps | |
parent | dc3778a685835ff6db12db9e784af01de2165656 (diff) |
fix warnings and errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27815 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/skin_engine/skin_render.c | 1 | ||||
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c index 18b37ca22f..ef2bfd57b9 100644 --- a/apps/gui/skin_engine/skin_render.c +++ b/apps/gui/skin_engine/skin_render.c @@ -44,6 +44,7 @@ #include "language.h" #include "playback.h" #include "playlist.h" +#include "root_menu.h" #include "misc.h" diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 8218358769..b55588557a 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c @@ -527,12 +527,12 @@ static struct mp3entry* get_mp3entry_from_offset(struct gui_wps *gwps, pid3 = gwps->state->nid3; else { - static struct mp3entry tempid3; static char filename_buf[MAX_PATH + 1]; fname = playlist_peek(offset, filename_buf, sizeof(filename_buf)); *filename = (char*)fname; #if CONFIG_CODEC == SWCODEC #ifdef HAVE_TC_RAMCACHE + static struct mp3entry tempid3; if (tagcache_fill_tags(&tempid3, fname)) { pid3 = &tempid3; |