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
This commit is contained in:
Dave Chapman 2008-03-25 00:20:59 +00:00
parent a0e4549717
commit 60413d898e

View file

@ -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;