summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-10-11 22:17:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-10-11 22:17:34 +0000
commit8279abe38eeea72f6f883a3fe558412cea7e4aa7 (patch)
tree63c290614475c0330190a7e831f95dc27cea11eb
parent1017e25438b3ca129dbe81e3d78f8f665fa39b27 (diff)
downloadrockbox-8279abe38eeea72f6f883a3fe558412cea7e4aa7.tar.gz
rockbox-8279abe38eeea72f6f883a3fe558412cea7e4aa7.zip
declare the lcd_framebuffer "nicer" in the #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2593 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/lcd-recorder.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c
index 25497723ba..1c899307ed 100644
--- a/firmware/drivers/lcd-recorder.c
+++ b/firmware/drivers/lcd-recorder.c
@@ -90,11 +90,10 @@ static int xmargin = 0;
static int ymargin = 0;
static int curfont = FONT_SYSFIXED;
-#ifdef SIMULATOR
-unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8];
-#else
-static unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8];
+#ifndef SIMULATOR
+static
#endif
+unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8];
/* All zeros and ones bitmaps for area filling */
static unsigned char zeros[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };