summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
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);