summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-08-29 16:36:40 +0000
committerThomas Martitz <kugel@rockbox.org>2009-08-29 16:36:40 +0000
commitdd5789b9b9398d7787ad65423f4ae9408e4f550f (patch)
tree92bad0c91270ea29ae4d8183dadf149e73aa24b0 /apps
parent5b2a599d63722d2323cf18aa089f333350318f34 (diff)
Respect UI viewport per screen in viewport_set_defaults() also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22539 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c
index 78d517d58b..e05cd78970 100644
--- a/apps/gui/viewport.c
+++ b/apps/gui/viewport.c
@@ -139,7 +139,7 @@ void viewport_set_fullscreen(struct viewport *vp, enum screen_type screen)
void viewport_set_defaults(struct viewport *vp, enum screen_type screen)
{
#ifdef HAVE_LCD_BITMAP
- if (ui_vp_info.active)
+ if (ui_vp_info.active[screen])
*vp = custom_vp[screen];
else
#endif