diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-07-02 15:17:33 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-07-02 15:17:33 +0000 |
| commit | 4f157d3bf9007c9b3000644d50b77f7ec6c0bee9 (patch) | |
| tree | 8ddb50af58d114118543f8154eb8c522fa49d228 /src/object-edit.cpp | |
| parent | Use hscale instead of scalebutton by default (diff) | |
| download | inkscape-4f157d3bf9007c9b3000644d50b77f7ec6c0bee9.tar.gz inkscape-4f157d3bf9007c9b3000644d50b77f7ec6c0bee9.zip | |
Don't dereference NULL knotholder; fixes instant crash, but using the handles still results in a crash :(
(bzr r6117)
Diffstat (limited to 'src/object-edit.cpp')
| -rw-r--r-- | src/object-edit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/object-edit.cpp b/src/object-edit.cpp index 8f9bf378c..9245166ca 100644 --- a/src/object-edit.cpp +++ b/src/object-edit.cpp @@ -88,6 +88,7 @@ sp_item_knot_holder(SPItem *item, SPDesktop *desktop) knotholder = new FlowtextKnotHolder(desktop, SP_FLOWTEXT(item)->get_frame(NULL), NULL); } else if ((SP_OBJECT(item)->style->fill.isPaintserver()) && SP_IS_PATTERN(SP_STYLE_FILL_SERVER(SP_OBJECT(item)->style))) { + knotholder = new KnotHolder(desktop, item, NULL); knotholder->add_pattern_knotholder(); } |
