games@tekred.CNA.TEK.COM (04/26/89)
Submitted-by: jah%elbereth.irb@unido.uucp (Joerg Hattenhauer) Posting-number: Volume 6, Issue 49 Archive-name: pc-mahjongg/Patch1 [Previously posted in the bugs newsgroup, it is also posted here for archival purposes. -br] #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of shell archive." # Contents: patches01 # Wrapped by billr@saab on Wed Apr 26 09:12:14 1989 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'patches01' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'patches01'\" else echo shar: Extracting \"'patches01'\" \(716 characters\) sed "s/^X//" >'patches01' <<'END_OF_FILE' X*** mahjongg.h.orig Wed Mar 22 15:46:40 1989 X--- mahjongg.h Wed Apr 26 09:11:21 1989 X*************** X*** 70,78 **** X #define NUMTILES 144 X X /* mouse buttons */ X! #define MBUTL 0 X! #define MBUTR 1 X! #define MBUTM 2 X X /* possible Actions */ X #define HELP 0 X--- 70,86 ---- X #define NUMTILES 144 X X /* mouse buttons */ X! #ifdef Mouse_Systems X! # define MBUTL 0 X! # define MBUTR 1 X! # define MBUTM 2 X! #else /* default */ X! # define MBUTL 2 X! # define MBUTR 1 X! # define MBUTM -2 /* an arbitrary number so that the code */ X! /* does not accidently think the non- */ X! /* existant middle button is pressed. */ X! #endif X X /* possible Actions */ X #define HELP 0 END_OF_FILE if test 716 -ne `wc -c <'patches01'`; then echo shar: \"'patches01'\" unpacked with wrong size! fi # end of 'patches01' fi echo shar: End of shell archive. exit 0