From dd5789b9b9398d7787ad65423f4ae9408e4f550f Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 29 Aug 2009 16:36:40 +0000 Subject: 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 --- apps/gui/viewport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/gui') 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 -- cgit v1.2.3