forked from len0rd/rockbox
fix charcell again.... wouldnt it be nice to remove charcell support all together? :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30305 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c0a4c66f9d
commit
810e9c4dcb
1 changed files with 18 additions and 1 deletions
|
|
@ -581,7 +581,7 @@ void write_line(struct screen *display, struct align_pos *format_align,
|
||||||
/* Nasty hack: we output an empty scrolling string,
|
/* Nasty hack: we output an empty scrolling string,
|
||||||
which will reset the scroller for that line */
|
which will reset the scroller for that line */
|
||||||
display->puts_scroll(0, line, (unsigned char *)"");
|
display->puts_scroll(0, line, (unsigned char *)"");
|
||||||
|
#ifdef HAVE_LCD_BITMAP
|
||||||
/* print aligned strings */
|
/* print aligned strings */
|
||||||
if (left_width != 0)
|
if (left_width != 0)
|
||||||
{
|
{
|
||||||
|
|
@ -599,6 +599,23 @@ void write_line(struct screen *display, struct align_pos *format_align,
|
||||||
display->puts_style_xyoffset(right_xpos/space_width, line,
|
display->puts_style_xyoffset(right_xpos/space_width, line,
|
||||||
(unsigned char *)format_align->right, style, 0, 0);
|
(unsigned char *)format_align->right, style, 0, 0);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
if (left_width != 0)
|
||||||
|
{
|
||||||
|
display->putsxy(left_xpos, line,
|
||||||
|
(unsigned char *)format_align->left);
|
||||||
|
}
|
||||||
|
if (center_width != 0)
|
||||||
|
{
|
||||||
|
display->putsxy(center_xpos, line,
|
||||||
|
(unsigned char *)format_align->center);
|
||||||
|
}
|
||||||
|
if (right_width != 0)
|
||||||
|
{
|
||||||
|
display->putsxy(right_xpos, line,
|
||||||
|
(unsigned char *)format_align->right);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue