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:
parent
a0e4549717
commit
60413d898e
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue