fix typos
This commit is contained in:
@@ -209,7 +209,7 @@ _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);*/
|
||||
}
|
||||
}
|
||||
|
||||
/* okay so we have the overriding and definitive locaton
|
||||
/* okay so we have the overriding and definitive location
|
||||
for sysconf, but only in the event that there is not a
|
||||
sysconf file there (for whatever reason), check a secondary
|
||||
location rather than abort. */
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
* from this software without specific prior written permission.
|
||||
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
/* Several minor changes were made for the NetHack distribution to satisfy
|
||||
@@ -56,7 +56,7 @@ static char sccsid[] = "@(#)random.c 5.5 (Berkeley) 7/6/88";
|
||||
* initialized to contain information for random number generation with that
|
||||
* much state information. Good sizes for the amount of state information are
|
||||
* 32, 64, 128, and 256 bytes. The state can be switched by calling the
|
||||
* setstate() routine with the same array as was initiallized with
|
||||
* setstate() routine with the same array as was initialized with
|
||||
* initstate().
|
||||
* By default, the package runs with 128 bytes of state information and
|
||||
* generates far better random numbers than a linear congruential generator.
|
||||
@@ -348,7 +348,7 @@ char *arg_state;
|
||||
* random:
|
||||
* If we are using the trivial TYPE_0 R.N.G., just do the old linear
|
||||
* congruential bit. Otherwise, we do our fancy trinomial stuff, which is the
|
||||
* same in all ther other cases due to all the global variables that have been
|
||||
* same in all the other cases due to all the global variables that have been
|
||||
* set up. The basic operation is to add the number at the rear pointer into
|
||||
* the one at the front pointer. Then both pointers are advanced to the next
|
||||
* location cyclically in the table. The value returned is the sum generated,
|
||||
|
||||
@@ -309,7 +309,7 @@ setftty(void)
|
||||
start_screen();
|
||||
}
|
||||
|
||||
void intron(void) /* enable kbd interupts if enabled when game started */
|
||||
void intron(void) /* enable kbd interrupts if enabled when game started */
|
||||
{
|
||||
#ifdef TTY_GRAPHICS
|
||||
/* Ugly hack to keep from changing tty modes for non-tty games -dlc */
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
* from this software without specific prior written permission.
|
||||
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Modified 12 April 1990 by Mark Adler for use on MSDOS systems with
|
||||
* Microsoft C and Turbo C.
|
||||
*
|
||||
* Modifed 13 February 1991 by Greg Roelofs for use on VMS systems. As
|
||||
* Modified 13 February 1991 by Greg Roelofs for use on VMS systems. As
|
||||
* with the MS-DOS version, the setting of the file mode has been disabled.
|
||||
* Compile and link normally (but note that the shared-image link option
|
||||
* produces a binary only 6 blocks long, as opposed to the 137-block one
|
||||
|
||||
Reference in New Issue
Block a user