diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-01-04 22:46:46 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-01-04 22:46:46 +0100 |
commit | 5d70985bb95121560de4c2556da1fac16a55f84b (patch) | |
tree | a5d8c09102857d6458647910ca40b078096a09c9 /source/theme.c | |
parent | 9dd3cb312e46575637627fbfd78980b9aee39533 (diff) |
Reset line style, reset state after drawing border.
Diffstat (limited to 'source/theme.c')
-rw-r--r-- | source/theme.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/theme.c b/source/theme.c index 56252610..299c900b 100644 --- a/source/theme.c +++ b/source/theme.c @@ -397,6 +397,8 @@ void distance_get_linestyle ( Distance d, cairo_t *draw ) if ( d.style == DASH ){ const double dashes[1] = { 4 }; cairo_set_dash ( draw, dashes, 1, 0.0 ); + } else { + cairo_set_dash ( draw, NULL, 0, 0.0); } } |