[comp.sources.games.bugs] v06i036: pc-mahjongg - solitaire mahjongg for IBM PC family

jah%elbereth.irb@unido.uucp (Joerg Hattenhauer) (03/30/89)

I received a patch to my recently posted mahjongg for the PC
from Jason Pelowitz. This should fix the Problems for the 
people using a microsoft mouse.

Jason wrote:

	So I had to change mahjongg.h, from:

	/* mouse buttons */
	#define MBUTL	0
	#define MBUTR	1
	#define	MBUTM	2

	to:

	/* mouse buttons */
	#ifdef Mouse_Systems
	  #define MBUTL	0
	  #define MBUTR	1
	  #define MBUTM	2
	#else			/* default = MicroSoft Mouse */
	  #define MBUTL	2
	  #define MBUTR	1
	  #define MBUTM	-2      /* an arbitrary number so that the code */
				/* does not accidently think the non-   */
				/* existant middle button is pressed.   */
	#endif


				Joerg

Joerg Hattenhauer                           e-mail : jah@unido.uucp
University of Dortmund                               ..uunet!unido!jah
IRB - Informatik Rechner Betriebsgruppe              jah@unido.bitnet
P.O.Box 500500
D-4600 Dortmund 50                          voice  : +49 231 7552422
West-Germany