Compute picture aspect ratio in double arithmetic, not integer.
commit70293381f5af9957afbd3e3fd0614d838738c7a7
authorPeter Clifton <pcjc2@cam.ac.uk>
Sat, 29 Dec 2007 01:37:02 +0000 (29 01:37 +0000)
committerPeter Clifton <pcjc2@cam.ac.uk>
Sat, 29 Dec 2007 01:37:02 +0000 (29 01:37 +0000)
treec32e038a7616b0e19286107bf085b561726c2756
parentc356556b29a991ec1f40b6be01e332fdfd663dac
Compute picture aspect ratio in double arithmetic, not integer.

Avoids a nasty bug where coordinates would overflow when attempting to
grip-adjust the picture size due to this ratio being incorrect.
gschem/src/o_picture.c
libgeda/src/o_picture.c