hiller@fzi.uka.de (Thomas Hiller) (05/03/91)
If you double-click in idraw with the magnify tool engaged, idraw crashes with a floating exception. This bug was reported earlier (ud-0.4-snapshot), but the patch was not made. Here is the patch once again: *** viewer.c.old Fri May 18 14:43:59 1990 --- viewer.c Fri May 18 14:44:38 1990 *************** *** 322,327 **** np.curx += left; np.cury += bottom; ! np.curwidth = right - left; ! np.curheight = top - bottom; Adjust(np); } --- 322,327 ---- np.curx += left; np.cury += bottom; ! np.curwidth = max(right - left, 1); ! np.curheight = max(top - bottom, 1); Adjust(np); } -- P.S. : Thanks for fix2, it solved the input problem. --------------------------------------------------------- Thomas Hiller Institut fuer Mikrorechner und Automation Universitaet Karlsruhe Kaiserstrasse 12 D-7500 Karlsruhe E-Mail: hiller@iravcl.ira.uka.de or hiller@fzi.uka.de ---------------------------------------------------------