From 0376208a484437cd3690aa3661bb84955c4013b0 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 7 Mar 2010 21:07:41 +0000 Subject: revert r25054 - tags which have an off and a list of option should have off as the first not last option. also fix it so the no icon position actually works. you can use %?Li if you want to. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25063 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/statusbar-skinned.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/gui/statusbar-skinned.c') diff --git a/apps/gui/statusbar-skinned.c b/apps/gui/statusbar-skinned.c index 840ad63c40..0902950599 100644 --- a/apps/gui/statusbar-skinned.c +++ b/apps/gui/statusbar-skinned.c @@ -58,7 +58,8 @@ bool sb_set_title_text(char* title, enum themable_icons icon, enum screen_type s } else if (sb_skin_data[screen].tokens[i].type == WPS_TOKEN_LIST_TITLE_ICON) { - sb_skin_data[screen].tokens[i].value.i = icon+1; + /* Icon_NOICON == -1 which the skin engine wants at position 1, so + 2 */ + sb_skin_data[screen].tokens[i].value.i = icon+2; } } return retval; -- cgit v1.2.3