diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-07 10:47:21 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-07 10:47:21 +0000 |
commit | 04fd0ce374ff3b7c21ec9619a9b35f796b4d9168 (patch) | |
tree | 72f25646e8e58378900cd37c630a98e9dca96c54 | |
parent | 9f2bd9893b6b1bc000fae3df10c634ea1698b81d (diff) |
fix FS#11368 - %V was eating the whole line so the %Vf() and %Vb() tags were being ignored
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26653 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 4956f85e9e..f473b6419f 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -1017,7 +1017,7 @@ static int parse_viewport(const char *wps_bufptr, add_to_ll_chain(&wps_data->viewports, list); curr_vp = skin_vp; /* Skip the rest of the line */ - return skip_end_of_line(wps_bufptr); + return ptr-wps_bufptr; } #if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1)) static int parse_viewportcolour(const char *wps_bufptr, |