summaryrefslogtreecommitdiff
path: root/desktop/textarea.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2018-05-23 13:04:19 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2018-05-23 13:04:19 +0100
commit66493421e65d8cbda3e17fdbe43824387e3d51a7 (patch)
treed260fb3aa5a0af3de954516e8eaac0d3cb5113b4 /desktop/textarea.c
parenta58d97a41a6192038573da6862571dc72a560458 (diff)
downloadnetsurf-66493421e65d8cbda3e17fdbe43824387e3d51a7.tar.gz
netsurf-66493421e65d8cbda3e17fdbe43824387e3d51a7.tar.bz2
Plotters: Change stroke width in the plot_style_t to fixed point.
Diffstat (limited to 'desktop/textarea.c')
-rw-r--r--desktop/textarea.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c
index 5666c975b..5bae27a5c 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -45,9 +45,9 @@
#define TA_ALLOC_STEP 512
static plot_style_t pstyle_stroke_caret = {
- .stroke_type = PLOT_OP_TYPE_SOLID,
- .stroke_colour = CARET_COLOR,
- .stroke_width = 1,
+ .stroke_type = PLOT_OP_TYPE_SOLID,
+ .stroke_colour = CARET_COLOR,
+ .stroke_width = plot_style_int_to_fixed(1),
};
struct line_info {