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
This commit is contained in:
Jens Arnold 2009-09-21 19:46:35 +00:00
parent 07d5d7e600
commit 7d5ab394b6

View file

@ -34,15 +34,16 @@
#define MAXLINES (LCD_HEIGHT/6) #define MAXLINES (LCD_HEIGHT/6)
#define MAXBUFFER 512 #define MAXBUFFER 512
#define RECT_SPACING 2
#else /* HAVE_LCD_CHARCELLS */ #else /* HAVE_LCD_CHARCELLS */
#define MAXLINES 2 #define MAXLINES 2
#define MAXBUFFER 64 #define MAXBUFFER 64
#define RECT_SPACING 0
#endif #endif
#define RECT_SPACING 2
static void splash_internal(struct screen * screen, const char *fmt, va_list ap) static void splash_internal(struct screen * screen, const char *fmt, va_list ap)
{ {