summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/helper/geom-pathstroke.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/geom-pathstroke.cpp b/src/helper/geom-pathstroke.cpp
index b39bb7f91..50627fd0b 100644
--- a/src/helper/geom-pathstroke.cpp
+++ b/src/helper/geom-pathstroke.cpp
@@ -1078,7 +1078,7 @@ Geom::Path half_outline(
double tolerance)
{
if (tolerance <= 0) {
- if (width > 0) {
+ if (std::abs(width) > 0) {
tolerance = 5.0 * (std::abs(width)/100);
}
else {