summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-08-14 14:04:46 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-08-14 14:04:46 +0000
commit810e9c4dcbf4171bde77e460b01ec109a023cdf5 (patch)
tree54f8a7e0690ba9831e149c18b5a30bfcf33eae1a
parentc0a4c66f9dbf84ff8890846f2223e8f0eb3f38cd (diff)
downloadrockbox-810e9c4dcbf4171bde77e460b01ec109a023cdf5.tar.gz
rockbox-810e9c4dcbf4171bde77e460b01ec109a023cdf5.zip
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
-rw-r--r--apps/gui/skin_engine/skin_display.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c
index 02e9d39711..d60690bdbd 100644
--- a/apps/gui/skin_engine/skin_display.c
+++ b/apps/gui/skin_engine/skin_display.c
@@ -581,7 +581,7 @@ void write_line(struct screen *display, struct align_pos *format_align,
581 /* Nasty hack: we output an empty scrolling string, 581 /* Nasty hack: we output an empty scrolling string,
582 which will reset the scroller for that line */ 582 which will reset the scroller for that line */
583 display->puts_scroll(0, line, (unsigned char *)""); 583 display->puts_scroll(0, line, (unsigned char *)"");
584 584#ifdef HAVE_LCD_BITMAP
585 /* print aligned strings */ 585 /* print aligned strings */
586 if (left_width != 0) 586 if (left_width != 0)
587 { 587 {
@@ -599,6 +599,23 @@ void write_line(struct screen *display, struct align_pos *format_align,
599 display->puts_style_xyoffset(right_xpos/space_width, line, 599 display->puts_style_xyoffset(right_xpos/space_width, line,
600 (unsigned char *)format_align->right, style, 0, 0); 600 (unsigned char *)format_align->right, style, 0, 0);
601 } 601 }
602#else
603 if (left_width != 0)
604 {
605 display->putsxy(left_xpos, line,
606 (unsigned char *)format_align->left);
607 }
608 if (center_width != 0)
609 {
610 display->putsxy(center_xpos, line,
611 (unsigned char *)format_align->center);
612 }
613 if (right_width != 0)
614 {
615 display->putsxy(right_xpos, line,
616 (unsigned char *)format_align->right);
617 }
618#endif
602 } 619 }
603} 620}
604 621