summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2009-10-06 13:32:37 +0000
committerTeruaki Kawashima <teru@rockbox.org>2009-10-06 13:32:37 +0000
commit67ded6ce9d8d1ace0112ae7d4222fa7a129c0be6 (patch)
treeffbef412e3637f7772670b63dd6b09f53882aecf
parent145c679c7d2341a14ca004c38b32f5bd17b2708f (diff)
downloadrockbox-67ded6ce9d8d1ace0112ae7d4222fa7a129c0be6.tar.gz
rockbox-67ded6ce9d8d1ace0112ae7d4222fa7a129c0be6.zip
Fix position calculation of title icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22983 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/bitmap/list.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c
index 986fcaea69..66e93fd302 100644
--- a/apps/gui/bitmap/list.c
+++ b/apps/gui/bitmap/list.c
@@ -84,11 +84,10 @@ static bool draw_title(struct screen *display, struct gui_synclist *list)
title_icon.width = get_icon_width(screen) + ICON_PADDING * 2;
if (VP_IS_RTL(&title_icon))
{
- title_icon.x = title_text_vp->width - title_icon.width;
+ title_icon.x += title_text_vp->width - title_icon.width;
}
else
{
- title_icon.x = ICON_PADDING;
title_text_vp->x += title_icon.width;
}
title_text_vp->width -= title_icon.width;