From 82078e4a59113557c61102b40716931acfc88f39 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 6 Jun 2002 12:50:34 +0000 Subject: 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 --- firmware/drivers/lcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/drivers/lcd.c') 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) */ void lcd_puts(int x, int y, char *str) { -#ifdef SIMULATOR +#if defined(SIMULATOR) && defined(HAVE_LCD_CHARCELLS) /* We make the simulator truncate the string if it reaches the right edge, as otherwise it'll wrap. The real target doesn't wrap. */ -- cgit v1.2.3