Check if bounds were found before invalidating drawn areas.
commitc290fcbcb34bd4adaee35a7ba4f655f88e4e252a
authorPeter Clifton <pcjc2@cam.ac.uk>
Mon, 17 Dec 2007 23:11:47 +0000 (17 23:11 +0000)
committerPeter Clifton <pcjc2@cam.ac.uk>
Mon, 17 Dec 2007 23:11:47 +0000 (17 23:11 +0000)
treeb3a3fbeffef681cce8edfd028a1c9a53e119bf5a
parent17998a71cc46a7eff3c738fcbd3851c7c8ea5930
Check if bounds were found before invalidating drawn areas.

If world_get_..._bounds() return zero (for example, in the case of
invisible attributes, or an empty schematic), no bound coordinates
are returned and we can't use them for further processing.
gschem/src/o_basic.c