Mail Archives: djgpp/1997/09/11/16:49:45
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
- Raw text -