Author: wmb Date: Fri Jun 10 18:18:59 2011 New Revision: 2258 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2258
Log: Bezier curve drawing code has a stack bug that sometimes cause crashes; not sure why this hadn't been seen before.
Modified: cpu/x86/pc/olpc/strokes.fth
Modified: cpu/x86/pc/olpc/strokes.fth ============================================================================== --- cpu/x86/pc/olpc/strokes.fth Fri Jun 10 18:17:53 2011 (r2257) +++ cpu/x86/pc/olpc/strokes.fth Fri Jun 10 18:18:59 2011 (r2258) @@ -175,7 +175,7 @@ recurse ( ) ; : bezier ( p0 p1 p2 p3 -- ) - dup bezier-point 4 pick bezier-point bezier-steps + dup bezier-point 3 pick bezier-point bezier-steps ;
: curveto ( x1 y1 x2 y2 x3 y3 -- )