diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2010-03-06 14:14:44 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2010-03-06 14:14:44 +0000 |
commit | 1fbdd913337cbf235ebe3a2cf52f73b661f3b1cf (patch) | |
tree | de142d611e1912ebb315025f506535008b71f51d /apps/gui/skin_engine/wps_debug.c | |
parent | f79b45d8bb30d80c453f4722b23de31db3b49bf0 (diff) |
skin: don't calculate id3->elapsed+state->ff_rewind_count each time. remove trailing spaces.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25045 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_debug.c')
-rw-r--r-- | apps/gui/skin_engine/wps_debug.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c index 59bc5edc43..2e4f428af4 100644 --- a/apps/gui/skin_engine/wps_debug.c +++ b/apps/gui/skin_engine/wps_debug.c @@ -56,7 +56,7 @@ struct debug_token_table tokens[] = { { X(TOKEN_MARKER_DATABASE) }, { X(TOKEN_MARKER_FILE) }, { X(TOKEN_MARKER_IMAGES) }, - { X(TOKEN_MARKER_METADATA) }, + { X(TOKEN_MARKER_METADATA) }, { X(TOKEN_MARKER_PLAYBACK_INFO) }, { X(TOKEN_MARKER_PLAYLIST) }, { X(TOKEN_MARKER_MISC) }, @@ -194,7 +194,7 @@ static char *get_token_desc(struct wps_token *token, char *buf, case WPS_TOKEN_PLAYBACK_STATUS: snprintf(buf, bufsize, "mode playback"); break; - + case WPS_TOKEN_RTC_PRESENT: snprintf(buf, bufsize, "rtc: present?"); break; @@ -500,7 +500,7 @@ static char *get_token_desc(struct wps_token *token, char *buf, break; case WPS_TOKEN_SETTING: snprintf(buf, bufsize, "Setting value: '%s'", - settings[token->value.i].cfg_name); + settings[token->value.i].cfg_name); break; case WPS_TOKEN_LANG_IS_RTL: snprintf(buf, bufsize, "lang: is_rtl?"); @@ -514,7 +514,7 @@ static char *get_token_desc(struct wps_token *token, char *buf, token->type - tokens[i-1].start_marker); break; } - } + } break; } @@ -649,5 +649,4 @@ void debug_skin_usage(void) (unsigned long)(skin_buffer_usage() + skin_buffer_freespace())); } - #endif /* DEBUG || SIMULATOR */ |