From 8279abe38eeea72f6f883a3fe558412cea7e4aa7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 11 Oct 2002 22:17:34 +0000 Subject: declare the lcd_framebuffer "nicer" in the #ifdef git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2593 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/lcd-recorder.c | 7 +++---- 1 file 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 }; -- cgit v1.2.3