Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!dogie.macc.wisc.edu!uwvax!umn-d-ub!umn-cs!hall!rosenkra From: rosenkra@hall.cray.com (Bill Rosenkranz) Newsgroups: comp.sys.atari.st Subject: Re: resetting mouse position on screen Message-ID: <3221@hall.cray.com> Date: 16 Jun 89 20:26:17 GMT References: <3220@hall.cray.com> Reply-To: rosenkra@hall.UUCP (Bill Rosenkranz) Organization: Cray Research, Inc., Mendota Heights, MN Lines: 20 oops... just notices a bug in the posting i just made. here is the correction: while (graf_mkstate (&mx, &my, &but, &key), !(but & 0x0001)) _SHOULD_ be: while (graf_mkstate (&mx, &my, &but, &key), (but & 0x0001)) or (the way i actually wrote it): while (1) { graf_mkstate (&mx, &my, &but, &key); if (!(but & 0x0001)) break; sorry...(so much for ignoring KISS, temporary insanity) -bill