Remove strlen from redraw functions.

This commit is contained in:
Michael Drake 2012-07-31 15:18:25 +01:00
parent 45b9d96678
commit 4125a8afdf
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ fb_redraw_text(fbtk_widget_t *widget, fbtk_callback_info *cbi )
fb_plotters.text(bbox.x0 + padding,
bbox.y0 + (((fh * 3) + 3)/4) + padding + 1,
widget->u.text.text,
strlen(widget->u.text.text),
widget->u.text.len,
&font_style);
}
@ -212,7 +212,7 @@ fb_redraw_text_button(fbtk_widget_t *widget, fbtk_callback_info *cbi )
fb_plotters.text(bbox.x0 + border,
bbox.y0 + (((fh * 3) + 3)/4) + border + 1,
widget->u.text.text,
strlen(widget->u.text.text),
widget->u.text.len,
&font_style);
}