diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2011-06-27 17:15:55 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2011-06-27 17:15:55 +0000 |
| commit | f3d189bf9df552fe8ba657380ef6f3316bf5afa8 (patch) | |
| tree | c13950a1b5729f7116bab882b6a55538deaabe0a /src | |
| parent | Remove "using namespace" from libcola headers. (diff) | |
| download | inkscape-f3d189bf9df552fe8ba657380ef6f3316bf5afa8.tar.gz inkscape-f3d189bf9df552fe8ba657380ef6f3316bf5afa8.zip | |
fix crasher
Fixed bugs:
- https://launchpad.net/bugs/802212
(bzr r10375)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-conn-end-pair.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-conn-end-pair.cpp b/src/sp-conn-end-pair.cpp index 3cc022c39..e22145425 100644 --- a/src/sp-conn-end-pair.cpp +++ b/src/sp-conn-end-pair.cpp @@ -224,7 +224,7 @@ SPConnEndPair::getEndpoints(Geom::Point endPts[]) const { g_assert(h2attItem[h]->avoidRef); endPts[h] = h2attItem[h]->avoidRef->getConnectionPointPos(_connEnd[h]->type, _connEnd[h]->id); } - else + else if (!curve->is_empty()) { if (h == 0) { endPts[h] = *(curve->first_point())*i2d; |
