mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-26 11:24:57 +03:00
Remove strlen from redraw functions.
This commit is contained in:
parent
45b9d96678
commit
4125a8afdf
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user