summaryrefslogtreecommitdiffstats
path: root/src/widgets/stroke-style.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2014-10-14 03:01:31 +0000
committer~suv <suv-sf@users.sourceforge.net>2014-10-14 03:01:31 +0000
commit1d2cec18d1038150b6511454a2fbb2b3cb6d36f8 (patch)
tree38aeab42635a7ebfa0b87394e42d8bebbcdc7ce6 /src/widgets/stroke-style.cpp
parentupdate to trunk (r13586) (diff)
parent2geom: Re-fix IS_NAN and IS_FINITE for solaris (diff)
downloadinkscape-1d2cec18d1038150b6511454a2fbb2b3cb6d36f8.tar.gz
inkscape-1d2cec18d1038150b6511454a2fbb2b3cb6d36f8.zip
update to trunk (r13610)
(bzr r13506.1.112)
Diffstat (limited to 'src/widgets/stroke-style.cpp')
-rw-r--r--src/widgets/stroke-style.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp
index 0e0a4fd72..9c8d45908 100644
--- a/src/widgets/stroke-style.cpp
+++ b/src/widgets/stroke-style.cpp
@@ -763,6 +763,9 @@ StrokeStyle::setJoinType (unsigned const jointype)
tb = joinBevel;
break;
default:
+ // Should not happen
+ std::cerr << "StrokeStyle::setJoinType(): Invalid value" << std::endl;
+ tb = joinMiter;
break;
}
setJoinButtons(tb);
@@ -786,6 +789,9 @@ StrokeStyle::setCapType (unsigned const captype)
tb = capSquare;
break;
default:
+ // Should not happen
+ std::cerr << "StrokeStyle::setCapType(): Invalid value" << std::endl;
+ tb = capButt;
break;
}
setCapButtons(tb);