diff options
Diffstat (limited to 'src/2geom/path.cpp')
| -rw-r--r-- | src/2geom/path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/path.cpp b/src/2geom/path.cpp index 266694390..857028ccd 100644 --- a/src/2geom/path.cpp +++ b/src/2geom/path.cpp @@ -314,7 +314,7 @@ void Path::appendPortionTo(Path &ret, double from, double to) const { } if(from >= to) { const_iterator ender = end(); - if(ender->initialPoint() == ender->finalPoint()) ender++; + if(ender->initialPoint() == ender->finalPoint()) ++ender; ret.insert(ret.end(), ++fromi, ender, STITCH_DISCONTINUOUS); ret.insert(ret.end(), begin(), toi, STITCH_DISCONTINUOUS); } else { |
