summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-09-21 19:46:35 +0000
committerJens Arnold <amiconn@rockbox.org>2009-09-21 19:46:35 +0000
commit7d5ab394b6dc1f7b94003710d4519d127851e326 (patch)
treeb292d6655baf8a60b1fec13ab1d1788f93da1ab9
parent07d5d7e600039ccad94c46525bfc99bd0963a1e6 (diff)
downloadrockbox-7d5ab394b6dc1f7b94003710d4519d127851e326.tar.gz
rockbox-7d5ab394b6dc1f7b94003710d4519d127851e326.zip
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
-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 50355d3a3c..10a6885f92 100644
--- a/apps/gui/splash.c
+++ b/apps/gui/splash.c
@@ -34,15 +34,16 @@
34 34
35#define MAXLINES (LCD_HEIGHT/6) 35#define MAXLINES (LCD_HEIGHT/6)
36#define MAXBUFFER 512 36#define MAXBUFFER 512
37#define RECT_SPACING 2
37 38
38#else /* HAVE_LCD_CHARCELLS */ 39#else /* HAVE_LCD_CHARCELLS */
39 40
40#define MAXLINES 2 41#define MAXLINES 2
41#define MAXBUFFER 64 42#define MAXBUFFER 64
43#define RECT_SPACING 0
42 44
43#endif 45#endif
44 46
45#define RECT_SPACING 2
46 47
47static void splash_internal(struct screen * screen, const char *fmt, va_list ap) 48static void splash_internal(struct screen * screen, const char *fmt, va_list ap)
48{ 49{