Fiddle with the 45-degre line snapping code
commit82b497e0ab801cc08c19752af224a9c97f74110a
authorPeter Clifton <peter@clifton-electronics.co.uk>
Fri, 20 Jan 2012 19:31:28 +0000 (20 19:31 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Sun, 22 Jan 2012 13:32:56 +0000 (22 13:32 +0000)
treec339d1d4869ca34d8789ea268bdc0d3fff57c94d
parentc6dd6949b59a41bf37b4cacbc4871397030b6fe2
Fiddle with the 45-degre line snapping code

The results should be identical, but hopefully this is clearer code.

I believe there were some masked bugs lurking in the old calculations,
which shouldn't be present in the new code.
src/line.c