Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: djgpp AT delorie DOT com Date: Thu, 11 Sep 1997 18:07:11 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Allegro: Bug in Allegro's (v2.2) remove_mouse function Precedence: bulk Hi All: The bug is very strange to hit but if you hit it is a hell to find. The remove_mouse function doesn't set _mouse_screen so mouse screen have a wrong value. If after that we set the graphics mode again then set_gfx_mode calls to set_mouse_range and it uses the old value in _mouse_screen. In my program it destroyed the stack and I was unable to detect the exact point. adding a line with _mouse_screen=NULL; at the end of the function all works OK. Hope this help to anybody else, SET ------------------------------------ 0 -------------------------------- Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013