1
0
Fork 0
forked from len0rd/rockbox

cleaner version of the version and splash merge

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@839 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Hak 2002-05-31 07:13:08 +00:00
parent 6ae63b78e2
commit c3f95cdd75

View file

@ -68,12 +68,8 @@ int show_logo( void )
snprintf(version, sizeof(version), "Ver. %s", appsversion);
lcd_getfontsize(0, &font_w, &font_h);
/* lcd_puts needs line height in Chars on screen not pixels */
width = ((LCD_WIDTH/font_w) - strlen(version)) / 2;
height = ((height+10)/font_h)+1;
lcd_puts(width, height, version);
lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
height+10+font_h, version, 0);
#else
char *rockbox = "ROCKbox!";
lcd_puts(0, 0, rockbox);