From: <Pi...@us...> - 2010-11-07 00:33:13
|
Revision: 1606 http://cs-sdl.svn.sourceforge.net/cs-sdl/?rev=1606&view=rev Author: Pikablu Date: 2010-11-07 00:33:03 +0000 (Sun, 07 Nov 2010) Log Message: ----------- Fixed crash in the constructor of Graphics.Primitives.Bezier(ArrayList, int) Modified Paths: -------------- trunk/SdlDotNet/src/Graphics/Primitives/Bezier.cs Modified: trunk/SdlDotNet/src/Graphics/Primitives/Bezier.cs =================================================================== --- trunk/SdlDotNet/src/Graphics/Primitives/Bezier.cs 2010-11-07 00:27:00 UTC (rev 1605) +++ trunk/SdlDotNet/src/Graphics/Primitives/Bezier.cs 2010-11-07 00:33:03 UTC (rev 1606) @@ -98,7 +98,7 @@ } this.x = new short[points.Count]; this.y = new short[points.Count]; - this.n = 0; + this.n = points.Count; this.list = new ArrayList(); this.xTotal = 0; this.yTotal = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |