Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!ucbvax!SCT60A.SUNYCT.EDU!sweetmr From: sweetmr@SCT60A.SUNYCT.EDU (michael sweet) Newsgroups: comp.sys.sgi Subject: Bug in "Stars" Message-ID: <13793.on.Mon,.28.Jan.91.14:30:28.EST.@sct60a.sunyct.edu> Date: 28 Jan 91 19:30:28 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 41 Sorry folks- Seems a bug slipped through in my "Stars" program. The fix is simple and requires the movement of 1 line of code out of an 'if' statement... On line 541, the call to redraw() should be outside the 'if', like so: OLD: last_yorg = win_yorg; last_xsize = win_xsize; last_ysize = win_ysize; redraw(); }; break; NEW: last_yorg = win_yorg; last_xsize = win_xsize; last_ysize = win_ysize; }; redraw(); break; This change will make sure the window is redrawn. The bug made itself known when "Stars" was made full-screen and pushed to the background; whenever another window was manipulated, the "Stars" window would not erase the screen, making quite a mess of things. -Mike Sweet ------------------------------------------------------------------------------ TASC (315) 724-1100 (voice) 555 French Road (315) 724-2031 (fax) New Hartford, NY 13413 Internet: sweetmr@sct60a.sunyct.edu Delphi: DODGECOLT ------------------------------------------------------------------------------