skin_engine: fix scrolling lines with dynamic content

Change-Id: If85220c8b59123814e0e6b1a3b8e00c981271021
This commit is contained in:
Jonathan Gordon 2012-03-26 22:24:43 +11:00
parent 76664d22df
commit 9445d4625a

View file

@ -780,7 +780,7 @@ void skin_render_viewport(struct skin_element* viewport, struct gui_wps *gwps,
/* only update if the line needs to be, and there is something to write */ /* only update if the line needs to be, and there is something to write */
if (refresh_type && needs_update) if (refresh_type && needs_update)
{ {
if (!info.force_redraw) if (info.force_redraw)
display->scroll_stop_line(&skin_viewport->vp, info.line_number); display->scroll_stop_line(&skin_viewport->vp, info.line_number);
write_line(display, align, info.line_number, write_line(display, align, info.line_number,
info.line_scrolls, info.text_style); info.line_scrolls, info.text_style);