diff options
author | Dave Chapman <dave@dchapman.com> | 2008-03-25 00:20:59 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2008-03-25 00:20:59 +0000 |
commit | 60413d898edd43127cdd3e6cc066658933ac7a8d (patch) | |
tree | 031ae6f7bd52efb6973c4d8945e5ea75e89172df /apps/gui/wps_parser.c | |
parent | a0e454971736221bd1db85db9c882dcc6540726e (diff) | |
download | rockbox-60413d898edd43127cdd3e6cc066658933ac7a8d.tar.gz rockbox-60413d898edd43127cdd3e6cc066658933ac7a8d.zip |
D'oh - fix a silly #ifdef mistake that caused problems with remote WPSs using viewports.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16787 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps_parser.c')
-rw-r--r-- | apps/gui/wps_parser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c index fe601c8855..7aa604ecdc 100644 --- a/apps/gui/wps_parser.c +++ b/apps/gui/wps_parser.c @@ -610,7 +610,7 @@ static int parse_viewport(const char *wps_bufptr, } } else -#else +#endif { if ((vp->x >= LCD_WIDTH) || ((vp->x + vp->width) > LCD_WIDTH) || @@ -620,7 +620,6 @@ static int parse_viewport(const char *wps_bufptr, return WPS_ERROR_INVALID_PARAM; } } -#endif wps_data->viewports[wps_data->num_viewports-1].last_line = wps_data->num_lines - 1; |