fix typos
This commit is contained in:
@@ -600,7 +600,7 @@ xputc(int c) /* actually char, but explicitly specify its widened type */
|
||||
*
|
||||
* xputc() used to be declared as 'void xputc(c) char c; {}' but
|
||||
* avoiding the proper type 'int' just to avoid (void) casts when
|
||||
* ignoring the result can't have been sufficent reason to add it.
|
||||
* ignoring the result can't have been sufficient reason to add it.
|
||||
* It also had '#if apollo' conditional to have the arg be int.
|
||||
* Matching putchar()'s declaration and using explicit casts where
|
||||
* warranted is more robust, so we're just a jacket around that.
|
||||
@@ -1009,7 +1009,7 @@ init_hilite(void)
|
||||
Strcat(hilites[CLR_BLACK], scratch);
|
||||
}
|
||||
} else {
|
||||
/* But it's concievable that hilighted black-on-black could
|
||||
/* But it's conceivable that hilighted black-on-black could
|
||||
* still be invisible on many others. We substitute blue for
|
||||
* black.
|
||||
*/
|
||||
|
||||
@@ -582,7 +582,7 @@ msghistory_snapshot(
|
||||
if (mesg && *mesg) {
|
||||
snapshot_mesgs[outidx++] = mesg;
|
||||
if (purge) {
|
||||
/* we're taking this pointer away; subsequest history
|
||||
/* we're taking this pointer away; subsequent history
|
||||
updates will eventually allocate a new one to replace it */
|
||||
cw->data[inidx] = (char *) 0;
|
||||
cw->datlen[inidx] = 0;
|
||||
|
||||
@@ -4305,7 +4305,7 @@ tty_status_enablefield(
|
||||
* windowport that it should output all changes received
|
||||
* to this point. It marks the end of a bot() cycle.
|
||||
* -- fldindex could also be BL_RESET (-3), which is not really
|
||||
* a field index, but is a special advisory to to tell the
|
||||
* a field index, but is a special advisory to tell the
|
||||
* windowport that it should redisplay all its status fields,
|
||||
* even if no changes have been presented to it.
|
||||
* -- ptr is usually a "char *", unless fldindex is BL_CONDITION.
|
||||
@@ -4437,7 +4437,7 @@ tty_status_update(
|
||||
}
|
||||
|
||||
/* The core botl engine sends a single blank to the window port
|
||||
for carrying-capacity when its unused. Let's suppress that */
|
||||
for carrying-capacity when it's unused. Let's suppress that */
|
||||
if (fldidx >= 0 && fldidx < MAXBLSTATS
|
||||
&& tty_status[NOW][fldidx].lth == 1
|
||||
&& status_vals[fldidx][0] == ' ') {
|
||||
|
||||
Reference in New Issue
Block a user