From 7d5ab394b6dc1f7b94003710d4519d127851e326 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 21 Sep 2009 19:46:35 +0000 Subject: Fix splash on charcell (was wasting 2 precious chars per line since r20870). This fixes the volume splash in wps, as it doesn't wrap anymore, but it's not a proper fix. The real problem is that the 2nd line of the default WPS updates immediately. The ultimate fix would be to get rid of the special charcell handling and use a VP in the WPS. git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22776 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/splash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/gui/splash.c b/apps/gui/splash.c index 50355d3a3c..10a6885f92 100644 --- a/apps/gui/splash.c +++ b/apps/gui/splash.c @@ -34,15 +34,16 @@ #define MAXLINES (LCD_HEIGHT/6) #define MAXBUFFER 512 +#define RECT_SPACING 2 #else /* HAVE_LCD_CHARCELLS */ #define MAXLINES 2 #define MAXBUFFER 64 +#define RECT_SPACING 0 #endif -#define RECT_SPACING 2 static void splash_internal(struct screen * screen, const char *fmt, va_list ap) { -- cgit v1.2.3