summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-06 12:50:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-06 12:50:34 +0000
commit82078e4a59113557c61102b40716931acfc88f39 (patch)
tree2b36cfdc7ddf7b4f8242b7153d37f75d6f07dbdf /firmware/drivers/lcd.c
parentf43490a86eb7cf9a2a050d584fc9e201bcc89b5f (diff)
downloadrockbox-82078e4a59113557c61102b40716931acfc88f39.tar.gz
rockbox-82078e4a59113557c61102b40716931acfc88f39.zip
the truncate lcd_puts() stuff in simulator only concerns player-style LCDs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@900 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd.c')
-rw-r--r--firmware/drivers/lcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c
index c394bfab0d..98121f4010 100644
--- a/firmware/drivers/lcd.c
+++ b/firmware/drivers/lcd.c
@@ -471,7 +471,7 @@ void lcd_setmargins(int x, int y)
471 */ 471 */
472void lcd_puts(int x, int y, char *str) 472void lcd_puts(int x, int y, char *str)
473{ 473{
474#ifdef SIMULATOR 474#if defined(SIMULATOR) && defined(HAVE_LCD_CHARCELLS)
475 /* We make the simulator truncate the string if it reaches the right edge, 475 /* We make the simulator truncate the string if it reaches the right edge,
476 as otherwise it'll wrap. The real target doesn't wrap. */ 476 as otherwise it'll wrap. The real target doesn't wrap. */
477 477