summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-09-21 19:40:07 +0000
committerJens Arnold <amiconn@rockbox.org>2009-09-21 19:40:07 +0000
commitb04c66ed29d7ee5ad039ac54dd97050a7d2bcd16 (patch)
treeda4a832ba7f004bb609bdecc26fd3ddb81ef406c
parenta4a24999d9a16c3d1c60dd44d9ac3ae324045010 (diff)
downloadrockbox-b04c66ed29d7ee5ad039ac54dd97050a7d2bcd16.zip
rockbox-b04c66ed29d7ee5ad039ac54dd97050a7d2bcd16.tar.gz
rockbox-b04c66ed29d7ee5ad039ac54dd97050a7d2bcd16.tar.bz2
rockbox-b04c66ed29d7ee5ad039ac54dd97050a7d2bcd16.tar.xz
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/trunk@22775 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/splash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/splash.c b/apps/gui/splash.c
index 50355d3..10a6885 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)
{