Comment typofixes

This commit is contained in:
Pasi Kallinen
2015-10-17 12:28:52 +03:00
parent f4ec27ea13
commit f8b48490aa
23 changed files with 28 additions and 28 deletions

View File

@@ -1976,7 +1976,7 @@ long timeout;
if (cansee_spot && !silent && !suppress_see) {
struct monst *mon;
mon = figurine->ocarry;
/* figurine carring monster might be invisible */
/* figurine carrying monster might be invisible */
if (canseemon(figurine->ocarry)) {
Sprintf(carriedby, "%s pack", s_suffix(a_monnam(mon)));
} else if (is_pool(mon->mx, mon->my))

View File

@@ -1842,7 +1842,7 @@ int orc_count; /* new count (warn_obj_cnt is old count); -1 is a flag value */
|| uwep->oartifact == ART_ORCRIST
|| uwep->oartifact == ART_GRIMTOOTH)) {
if (orc_count == -1 && warn_obj_cnt > 0) {
/* -1 means that blindess has just been toggled; give a
/* -1 means that blindness has just been toggled; give a
'continue' message that eventual 'stop' message will match */
pline("%s is %s.", bare_artifactname(uwep),
!Blind ? "glowing" : "quivering");

View File

@@ -72,7 +72,7 @@ boolean restore;
}
if (restore) {
/* artifact bookeeping needs to be done during
/* artifact bookkeeping needs to be done during
restore; other fixups are done while saving */
if (otmp->oartifact) {
if (exist_artifact(otmp->otyp, safe_oname(otmp))

View File

@@ -476,7 +476,7 @@ bot()
blstats[idx][BL_GOLD].a.a_long = money_cnt(invent);
/*
* The tty port needs to display the current symbol for gold
* as a field header, so to accomodate that we pass gold with
* as a field header, so to accommodate that we pass gold with
* that already included. If a window port needs to use the text
* gold amount without the leading "$:" the port will have to
* add 2 to the value pointer it was passed in status_update()

View File

@@ -270,7 +270,7 @@ popch()
char
pgetchar()
{ /* curtesy of aeb@cwi.nl */
{ /* courtesy of aeb@cwi.nl */
register int ch;
if (!(ch = popch()))
@@ -1435,7 +1435,7 @@ int final;
(u.ualign.type != u.ualignbase[A_ORIGINAL])
? "now "
:
/* athiest (ignored in very early game); lastly, normal case
/* atheist (ignored in very early game); lastly, normal case
*/
(!u.uconduct.gnostic && moves > 1000L) ? "nominally " : "",
u_gname());

View File

@@ -1796,7 +1796,7 @@ int x, y, a, b, c, dd;
* Return 'which' if position is implies an unfinshed exterior. Return
* zero otherwise. Unfinished implies outer area is rock or a corridor.
*
* Things that are ambigious: lava
* Things that are ambiguous: lava
*/
STATIC_OVL int
check_pos(x, y, which)

View File

@@ -763,7 +763,7 @@ namefloorobj()
/* note well: 'obj' might be as instance of STRANGE_OBJECT if target
is a mimic; passing that to xname (directly or via simpleonames)
would yield "glorkum" so we need to handle it explicitly; it will
alwlays fail the Hallucination test and pass the !callable test,
always fail the Hallucination test and pass the !callable test,
resulting in the "can't be assigned a type name" message */
Strcpy(buf, (obj->otyp != STRANGE_OBJECT)
? simpleonames(obj)

View File

@@ -187,7 +187,7 @@ char **cs_rows;
if (ls->x == u.ux && ls->y == u.uy) {
/*
* If the light source is located at the hero, then
* we can use the COULD_SEE bits already calcualted
* we can use the COULD_SEE bits already calculated
* by the vision system. More importantly than
* this optimization, is that it allows the vision
* system to correct problems with clear_path().
@@ -502,7 +502,7 @@ struct obj *obj;
|| artifact_light(obj)));
}
/* copy the light source(s) attachted to src, and attach it/them to dest */
/* copy the light source(s) attached to src, and attach it/them to dest */
void
obj_split_light_source(src, dest)
struct obj *src, *dest;

View File

@@ -1202,7 +1202,7 @@ register int mmflags;
mtmp->cham = mcham;
/* Note: shapechanger's initial form used to be
chosen here with rndmonst(), yielding a monster
which was approriate to the level's difficulty
which was appropriate to the level's difficulty
but ignored the changer's usual type selection
so would be inappropriate for vampshifters.
Let newcham() pick the shape. */

View File

@@ -649,8 +649,8 @@ register struct attack *mattk;
dy = mdef->my;
/*
* Leave the defender in the monster chain at it's current position,
* but don't leave it on the screen. Move the agressor to the def-
* ender's position.
* but don't leave it on the screen. Move the aggressor to the
* defender's position.
*/
remove_monster(ax, ay);
place_monster(magr, dx, dy);
@@ -706,7 +706,7 @@ register struct attack *mattk;
result = mdamagem(magr, mdef, mattk);
/* Kill off agressor if it didn't die. */
/* Kill off aggressor if it didn't die. */
if (!(result & MM_AGR_DIED)) {
mondead(magr);
if (magr->mhp > 0)

View File

@@ -1690,7 +1690,7 @@ static const char *const special_subjs[] = {
/* note: "detect monsters" and "shape changers" are normally
caught via "<something>(s) of <whatever>", but they can be
wished for using the shorter form, so we include them here
to accomodate usage by makesingular during wishing */
to accommodate usage by makesingular during wishing */
};
/* return form of the verb (input plural) for present tense 3rd person subj */

View File

@@ -108,7 +108,7 @@ struct obj **obj_p;
if (mtmp && has_mcorpsenm(mtmp)) /* mimic as corpse/statue */
otmp->corpsenm = MCORPSENM(mtmp);
}
/* if located at adajcent spot, mark it as having been seen up close */
/* if located at adjacent spot, mark it as having been seen up close */
if (otmp && distu(x, y) <= 2 && !Blind && !Hallucination)
otmp->dknown = 1;
@@ -808,7 +808,7 @@ coord *click_cc;
win = create_nhwindow(NHW_MENU);
start_menu(win);
any.a_char = '/';
/* 'y' and 'n' to keep backwards compatability with previous
/* 'y' and 'n' to keep backwards compatibility with previous
versions: "Specify unknown object by cursor?" */
add_menu(win, NO_GLYPH, &any,
flags.lootabc ? 0 : any.a_char, 'y', ATR_NONE,

View File

@@ -111,7 +111,7 @@ but that's really hard.
#define on_shrine() ((levl[u.ux][u.uy].altarmask & AM_SHRINE) != 0)
#define a_align(x, y) ((aligntyp) Amask2align(levl[x][y].altarmask & AM_MASK))
/* criticially low hit points if hp <= 5 or hp <= maxhp/N for some N */
/* critically low hit points if hp <= 5 or hp <= maxhp/N for some N */
boolean
critically_low_hp(only_if_injured)
boolean only_if_injured; /* determines whether maxhp <= 5 matters */

View File

@@ -616,7 +616,7 @@ long timeout;
case OBJ_MINVENT:
if (cansee_hatchspot) {
/* egg carring monster might be invisible */
/* egg carrying monster might be invisible */
if (canseemon(egg->ocarry)) {
Sprintf(carriedby, "%s pack",
s_suffix(a_monnam(egg->ocarry)));