diff options
| author | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-04-24 08:02:55 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2019-04-25 09:52:55 +0000 |
| commit | ef3963e2d9f8439e0297aa38fe1a21877ec22f0e (patch) | |
| tree | f4e0c8d47380ed9586b167c64a42ff8b8ba6d3ea /src | |
| parent | fix #158 crash on exit w/ layer dialog (diff) | |
| download | inkscape-ef3963e2d9f8439e0297aa38fe1a21877ec22f0e.tar.gz inkscape-ef3963e2d9f8439e0297aa38fe1a21877ec22f0e.zip | |
Stop crash on binary path division (flatpak)
Not apparent without _GLIBCXX_ASSERTIONS
Fixes https://gitlab.com/inkscape/inbox/issues/397
Diffstat (limited to 'src')
| -rw-r--r-- | src/livarot/ShapeMisc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/livarot/ShapeMisc.cpp b/src/livarot/ShapeMisc.cpp index db5c19297..b76ea5875 100644 --- a/src/livarot/ShapeMisc.cpp +++ b/src/livarot/ShapeMisc.cpp @@ -397,7 +397,7 @@ Shape::ConvertToFormeNested (Path * dest, int nbP, Path * *orig, int /*wildPath* parentContour = GPOINTER_TO_INT(swdData[askTo].misc); parentContour-=1; // pour compenser le decalage } - childEdge = getPoint(fi).incidentEdge[FIRST]; + childEdge = getPoint(fi % numberOfPoints()).incidentEdge[FIRST]; } } lastPtUsed = fi + 1; |
