summaryrefslogtreecommitdiffstats
path: root/src/sp-conn-end.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-conn-end.cpp')
-rw-r--r--src/sp-conn-end.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-conn-end.cpp b/src/sp-conn-end.cpp
index 947a88d71..f529d6d62 100644
--- a/src/sp-conn-end.cpp
+++ b/src/sp-conn-end.cpp
@@ -101,12 +101,12 @@ sp_conn_end_move_compensate(NR::Matrix const */*mp*/, SPItem */*moved_item*/,
NR::Point other_endpt;
NR::Point last_seg_pt;
if (h2attItem[0] != NULL) {
- other_endpt = path->curve->last_point();
+ other_endpt = *(path->curve->last_point());
last_seg_pt = *(path->curve->second_point());
ind = 0;
}
else {
- other_endpt = path->curve->first_point();
+ other_endpt = *(path->curve->first_point());
last_seg_pt = *(path->curve->penultimate_point());
ind = 1;
}