summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-11 20:15:22 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-11 20:15:22 +0000
commitd5b076b64a8a3abd55fca0e9db7b13c6024bdfa3 (patch)
tree59ceb57c1f2633b8fd8f6458463499bc776a7930 /firmware/drivers
parent891c446302d341d2e8f6f2da54343589bf46d0e4 (diff)
downloadrockbox-d5b076b64a8a3abd55fca0e9db7b13c6024bdfa3.zip
rockbox-d5b076b64a8a3abd55fca0e9db7b13c6024bdfa3.tar.gz
rockbox-d5b076b64a8a3abd55fca0e9db7b13c6024bdfa3.tar.bz2
rockbox-d5b076b64a8a3abd55fca0e9db7b13c6024bdfa3.tar.xz
RTL: Cosmetic changes, no functional change - Rename constants
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23117 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/lcd-bitmap-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c
index 5bf4706..042500c 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -92,7 +92,7 @@ static void LCDFN(putsxyofs)(int x, int y, int ofs, const unsigned char *str)
LCDFN(getstringsize)(str, &w, NULL);
/* center takes precedence */
- if (vp_flags & VP_FLAG_CENTER_ALIGN)
+ if (vp_flags & VP_FLAG_ALIGN_CENTER)
x = ((current_vp->width - w)/ 2) + x;
else
x = current_vp->width - w - x;