Newsgroups: comp.windows.interviews Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fzi.uka.de!hiller From: hiller@fzi.uka.de (Thomas Hiller) Subject: Unidraw bug Message-ID: <1991May3.080843.6722@ira.uka.de> Sender: news@ira.uka.de (USENET News System) Organization: Forschungszentrum Informatik, Karlsruhe Date: Fri, 3 May 1991 08:08:43 GMT Lines: 34 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 ---------------------------------------------------------