diff options
author | Jens Arnold <amiconn@rockbox.org> | 2009-09-21 19:40:07 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2009-09-21 19:40:07 +0000 |
commit | b04c66ed29d7ee5ad039ac54dd97050a7d2bcd16 (patch) | |
tree | da4a832ba7f004bb609bdecc26fd3ddb81ef406c /apps/gui/splash.c | |
parent | a4a24999d9a16c3d1c60dd44d9ac3ae324045010 (diff) | |
download | rockbox-b04c66ed29d7ee5ad039ac54dd97050a7d2bcd16.tar.gz rockbox-b04c66ed29d7ee5ad039ac54dd97050a7d2bcd16.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/trunk@22775 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/splash.c')
-rw-r--r-- | apps/gui/splash.c | 3 |
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 | ||
47 | static void splash_internal(struct screen * screen, const char *fmt, va_list ap) | 48 | static void splash_internal(struct screen * screen, const char *fmt, va_list ap) |
48 | { | 49 | { |