summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-05-21 23:26:06 +0100
committerVincent Sanders <vince@kyllikki.org>2020-05-21 23:26:06 +0100
commit10fc242aa94c8a9a440baccbf7170b36b4d54cb7 (patch)
tree7a4d511e9e32c93111b00322fb6a7b864f22f464 /desktop
parentba5025e5e8362ac47359f69fcae94a403217a5fa (diff)
downloadnetsurf-10fc242aa94c8a9a440baccbf7170b36b4d54cb7.tar.gz
netsurf-10fc242aa94c8a9a440baccbf7170b36b4d54cb7.tar.bz2
remove unesessary construction of font plot stype in selection redraw
Diffstat (limited to 'desktop')
-rw-r--r--desktop/selection.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop/selection.c b/desktop/selection.c
index 240ab8451..59550548f 100644
--- a/desktop/selection.c
+++ b/desktop/selection.c
@@ -335,14 +335,11 @@ redraw_handler(const char *text,
struct rdw_info *r = (struct rdw_info*)handle;
int width, height;
int x, y;
- plot_font_style_t fstyle;
if (!box) {
return true;
}
- font_plot_style_from_css(len_ctx, box->style, &fstyle);
-
/* \todo - it should be possible to reduce the redrawn area by
* considering the 'text', 'length' and 'space' parameters */
box_coords(box, &x, &y);