summaryrefslogtreecommitdiff
path: root/desktop/scrollbar.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/scrollbar.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/scrollbar.c')
-rw-r--r--desktop/scrollbar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/scrollbar.c b/desktop/scrollbar.c
index 5a7420ae1..af5536ba4 100644
--- a/desktop/scrollbar.c
+++ b/desktop/scrollbar.c
@@ -164,17 +164,17 @@ scrollbar_rectangle(const struct redraw_context *ctx,
static plot_style_t c0 = {
.stroke_type = PLOT_OP_TYPE_SOLID,
- .stroke_width = 1,
+ .stroke_width = plot_style_int_to_fixed(1),
};
static plot_style_t c1 = {
.stroke_type = PLOT_OP_TYPE_SOLID,
- .stroke_width = 1,
+ .stroke_width = plot_style_int_to_fixed(1),
};
static plot_style_t c2 = {
.stroke_type = PLOT_OP_TYPE_SOLID,
- .stroke_width = 1,
+ .stroke_width = plot_style_int_to_fixed(1),
};
if (inset) {