diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-08-13 18:49:22 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-08-13 18:49:22 +0000 |
| commit | d70f7cc1bada9cd825ee742246f817ca4fdb14cd (patch) | |
| tree | e2f0373f664e81c3f0df1dcffb689e140323d764 /src/pencil-context.cpp | |
| parent | Get rid of sp_nodepath_current() and a few instances of SP_ACTIVE_DESKTOP by ... (diff) | |
| download | inkscape-d70f7cc1bada9cd825ee742246f817ca4fdb14cd.tar.gz inkscape-d70f7cc1bada9cd825ee742246f817ca4fdb14cd.zip | |
return boost::optional for second and penultimate points of SPCurve
(bzr r6616)
Diffstat (limited to 'src/pencil-context.cpp')
| -rw-r--r-- | src/pencil-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index 2c97beafe..4a7032e70 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -592,7 +592,7 @@ static void spdc_finish_endpoint(SPPencilContext *const pc) { if ( ( pc->red_curve->is_empty() ) - || ( pc->red_curve->first_point() == pc->red_curve->second_point() ) ) + || ( pc->red_curve->first_point() == *(pc->red_curve->second_point()) ) ) { pc->red_curve->reset(); sp_canvas_bpath_set_bpath(SP_CANVAS_BPATH(pc->red_bpath), NULL); |
