diff options
Diffstat (limited to 'desktop/selection.c')
-rw-r--r-- | desktop/selection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/selection.c b/desktop/selection.c index 2be6853a2..0dc8e493e 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -601,7 +601,7 @@ bool redraw_handler(const char *text, size_t length, struct box *box, height = box->padding[TOP] + box->height + box->padding[BOTTOM]; if (box->type == BOX_TEXT && box->space && - nsfont_width(box->style, " ", 1, &space_width)) + nsfont.font_width(box->style, " ", 1, &space_width)) width += space_width; if (r->inited) { |