From 80003bc4a4c2564c15e202a73bf2f2103e9a6407 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 9 Oct 2009 18:39:34 +0000 Subject: Fix a few problems with RTL, statusbar and custom ui viewport. *text in statusbar jumped around *custom ui vp wasn't refreshed properly on language changing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23053 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/statusbar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/gui/statusbar.c') diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c index 0a9d539223..8edc824e2e 100644 --- a/apps/gui/statusbar.c +++ b/apps/gui/statusbar.c @@ -174,7 +174,8 @@ static void gui_statusbar_init(struct gui_statusbar * bar) } #define GET_RECT(vp, vals,display) do { \ - viewport_set_fullscreen(&(vp), (display)->screen_type); \ + viewport_set_fullscreen(&(vp), (display)->screen_type); \ + (vp).flags &= ~VP_FLAG_IS_RTL; \ (vp).height = STATUSBAR_HEIGHT; \ (vp).x = STATUSBAR_X_POS; \ if ((vals) != STATUSBAR_BOTTOM) \ -- cgit v1.2.3