Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages
Started by Chris G. Sylvain
Sat, 16 Jun 1990 15:54
Bug in QC25/SAMPLES/MOUSE.C
Author: Chris G. Sylvain
Date: Sat, 16 Jun 1990 15:54
Date: Sat, 16 Jun 1990 15:54
14 lines
948 bytes
948 bytes
Has anyone else noticed the bug in MouseInit(), which is supplied as part
of MOUSE.C ?
The bare _asm{ ret } when the mouse is not available is NOT the way to
return( 0 ); without trashing the program stack.
If the code is changed to split the _asm block and use a return() instead,
then it works fine. I guess everyone at Microsoft has a mouse ?
--
--==---==---==--
Outgrabe: Like a bellowing and whistling, with a kind sneeze in the middle
-- ARPA: cgs@umd5.UMD.EDU BITNET: cgs%umd5@umd2 --
-- UUCP: ..!uunet!umd5.umd.edu!cgs --
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads