summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-01-09 12:21:18 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-01-09 12:21:18 +0000
commitebce81d23f991a7d31355ecd11d4cb7faab23715 (patch)
tree07887a7c7e7af9fb363dfe01f446c5786d3d4c3b /firmware
parent32b15fc08f1832734a6b5a6fac3e7f3a77ebcffb (diff)
downloadrockbox-ebce81d23f991a7d31355ecd11d4cb7faab23715.tar.gz
rockbox-ebce81d23f991a7d31355ecd11d4cb7faab23715.tar.bz2
rockbox-ebce81d23f991a7d31355ecd11d4cb7faab23715.zip
Fix FS#10893.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24203 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-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 78ceb848d5..afb7662638 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -186,7 +186,7 @@ static void LCDFN(putsxyofs)(int x, int y, int ofs, const unsigned char *str)
}
bits = font_get_bits(pf, *ucs);
- LCDFN(mono_bitmap_part)(bits, ofs, 0, width, MAX(x + base_ofs, 0), y,
+ LCDFN(mono_bitmap_part)(bits, ofs, 0, width, x + base_ofs, y,
width - ofs, pf->height);
if (is_diac)