summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-06-07 11:13:56 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-06-07 11:13:56 +0000
commit4c040943bbd7f3416667f1f28dd6aa6e58295c3d (patch)
tree747bc8875a3289471507edc73cb9865d2bf8c575
parent1ce70a679c645c1886eff1d96c5c9f2a630066d6 (diff)
downloadrockbox-4c040943bbd7f3416667f1f28dd6aa6e58295c3d.tar.gz
rockbox-4c040943bbd7f3416667f1f28dd6aa6e58295c3d.tar.bz2
rockbox-4c040943bbd7f3416667f1f28dd6aa6e58295c3d.zip
off by one. FS#11369
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26655 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/skin_engine/skin_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index f473b6419f..ece172e1de 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -997,6 +997,7 @@ static int parse_viewport(const char *wps_bufptr,
/* Check for trailing ) */
if (*ptr != ')')
return WPS_ERROR_INVALID_PARAM;
+ ptr++;
if (follow_lang_direction && lang_is_rtl())
{