diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-08-13 19:06:18 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-08-13 19:06:18 +0000 |
| commit | 9c33efba40912d582a4844e4e82a72c13c8c4887 (patch) | |
| tree | 0375f8c5f56a9ce8d03bc483ab0c14d223d6f39e /src/pencil-context.cpp | |
| parent | return boost::optional for second and penultimate points of SPCurve (diff) | |
| download | inkscape-9c33efba40912d582a4844e4e82a72c13c8c4887.tar.gz inkscape-9c33efba40912d582a4844e4e82a72c13c8c4887.zip | |
make spcurve::first_point and last_point boost::optional
(bzr r6617)
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 4a7032e70..cd0f9be7f 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); |
