Author: Carlos Lopez <[email protected]>
Date:   Thu Apr 14 21:30:13 2011 +0200

Fix typos in one of the previous commits that make the bug not be solved for 
end tip.

---

 .../src/modules/mod_geometry/advanced_outline.cpp  |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/synfig-core/src/modules/mod_geometry/advanced_outline.cpp 
b/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
index b8486fc..df29f4b 100644
--- a/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
+++ b/synfig-core/src/modules/mod_geometry/advanced_outline.cpp
@@ -256,9 +256,9 @@ Advanced_Outline::sync()
                {
                        if(wnext->get_norm_position()==0.0 && 
wnext->get_side_type_before()==WidthPoint::TYPE_INTERPOLATE)
                                wnext->set_side_type_before(start_tip_);
-                       const vector<WidthPoint>::const_iterator 
last=--wplist.end();
+                       vector<WidthPoint>::iterator last=--wplist.end();
                        if(last->get_norm_position()==1.0 && 
last->get_side_type_after()==WidthPoint::TYPE_INTERPOLATE)
-                               wnext->set_side_type_after(end_tip_);
+                               last->set_side_type_after(end_tip_);
                }
                do
                {


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to