summaryrefslogtreecommitdiffstats
path: root/src/display
diff options
context:
space:
mode:
Diffstat (limited to 'src/display')
-rw-r--r--src/display/curve.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/display/curve.cpp b/src/display/curve.cpp
index 3e491a2b8..bbbba09f0 100644
--- a/src/display/curve.cpp
+++ b/src/display/curve.cpp
@@ -254,12 +254,7 @@ sp_curve_split(SPCurve const *curve)
new_curve->substart = 0;
new_curve->closed = (new_curve->_bpath->code == NR_MOVETO);
new_curve->hascpt = (new_curve->_bpath->code == NR_MOVETO_OPEN);
- l = g_slist_append(l, new_curve);
- /** \todo
- * effic: Use g_slist_prepend instead. Either work backwards from
- * the end of curve, or work forwards as at present but do
- * g_slist_reverse before returning.
- */
+ l = g_slist_prepend(l, new_curve);
p += i;
}