]> granicus.if.org Git - nethack/commitdiff
Comment typofixes
authorPasi Kallinen <paxed@alt.org>
Sat, 17 Oct 2015 09:28:52 +0000 (12:28 +0300)
committerPasi Kallinen <paxed@alt.org>
Sat, 17 Oct 2015 09:28:52 +0000 (12:28 +0300)
23 files changed:
doc/Guidebook.tex
include/config1.h
include/decl.h
include/patchlevel.h
include/rm.h
include/skills.h
include/wceconf.h
include/winX.h
src/apply.c
src/artifact.c
src/bones.c
src/botl.c
src/cmd.c
src/display.c
src/do_name.c
src/light.c
src/makemon.c
src/mhitm.c
src/objnam.c
src/pager.c
src/pray.c
src/timeout.c
sys/vms/vmstty.c

index a68ab58f8bf7c97b3415b3b6bb8f888aa7c5b104..cc8c3d31085e4102fc3bd110970625b528963e17 100644 (file)
@@ -1,6 +1,6 @@
 \documentstyle[titlepage,longtable]{article}
 % NetHack 3.6  Guidebook.tex $NHDT-Date: 1431192762 2015/05/09 17:32:42 $  $NHDT-Branch: master $:$NHDT-Revision: 1.60 $ */
-%+% we're still limping along in LaTeX 2.09 compatability mode
+%+% we're still limping along in LaTeX 2.09 compatibility mode
 %-%\documentclass{article}
 %-%\usepackage{hyperref} % before longtable
 %-%% if hyperref isn't available, we can get by with this instead
index 33fa86c4a4cf5cb943d7eaff7c09d1bdf393efa2..e5339735fe7e4e24278c7b6f8558d3e21ff1d73e 100644 (file)
 #define _DECC_V4_SOURCE /* avoid some incompatible V5.x changes */
 #endif
 #undef __HIDE_FORBIDDEN_NAMES /* need non-ANSI library support functions */
-#ifdef VAXC    /* DEC C in VAX C compatability mode; 'signed' works   */
+#ifdef VAXC    /* DEC C in VAX C compatibility mode; 'signed' works   */
 #define signed /* but causes diagnostic about VAX C not supporting it */
 #endif
 #else
index fae4fcf4bd27d28e83070d68666fa72c36487a30..128413aaa2ca5c3bbb224b13dbee617cbbd47f24 100644 (file)
@@ -70,7 +70,7 @@ E struct dgn_topology { /* special dungeon levels for speed */
     d_level d_mineend_level;
     d_level d_sokoend_level;
 } dungeon_topology;
-/* macros for accesing the dungeon levels by their old names */
+/* macros for accessing the dungeon levels by their old names */
 /* clang-format off */
 #define oracle_level            (dungeon_topology.d_oracle_level)
 #define bigroom_level           (dungeon_topology.d_bigroom_level)
index 741922ea6769610547ce82f67d2e6508822b5b7c..4db87dae2eaf19a3e4d0d55d851e06363ab9cf88 100644 (file)
  *  Patch 2, August 16, 1989
  *  add support for OS/2 (courtesy Timo Hakulinen)
  *  add a better makefile for MicroSoft C (courtesy Paul Gyugyi)
- *  more accomodation of compilers and preprocessors
+ *  more accommodation of compilers and preprocessors
  *  add better screen-size sensing
  *  expand color use for PCs and introduce it for SVR3 UNIX machines
  *  extend '/' to multiple identifications
index c833f2dcc308f58b22ed7c19fc2642e6da117328..5e7104898da5d93307d4698b6ff345243bdcc4f8 100644 (file)
 #define S_digbeam 69   /* dig beam symbol */
 #define S_flashbeam 70 /* camera flash symbol */
 #define S_boomleft 71  /* thrown boomerang, open left, e.g ')'    */
-#define S_boomright 72 /* thrown boomerand, open right, e.g. '('  */
+#define S_boomright 72 /* thrown boomerang, open right, e.g. '('  */
 #define S_ss1 73       /* 4 magic shield glyphs */
 #define S_ss2 74
 #define S_ss3 75
index 4900ec758686a7ea3ba48dee099a21c18de09e45..1c174d5c3adcaa90848471bd2808c3e6447e4767 100644 (file)
@@ -16,7 +16,7 @@
  * Order matters and are used in macros.
  * Positive values denote hand-to-hand weapons or launchers.
  * Negative values denote ammunition or missiles.
- * Update weapon.c if you ammend any skills.
+ * Update weapon.c if you amend any skills.
  * Also used for oc_subtyp.
  */
 #define P_DAGGER 1
index 4dc57332533234c0663f2b75eaa26a7c6a9e17e0..fb9f0f60db1b43b618e2ca42707a533480dd63ad 100644 (file)
@@ -336,7 +336,7 @@ extern long __cdecl ftell(FILE *f);
 #endif
 
 /* leave - Windows CE defines leave as part of exception handling (__leave)
-   It confilicts with existing sources and since we don't use exceptions it is
+   It conflicts with existing sources and since we don't use exceptions it is
    safe
    to undefine it */
 #ifdef leave
index b2fba46f1f8c27c99212c3d8b88fded9ed91cce4..a54a37a9e54f9eb522456689cdd2ca47aadcbb57 100644 (file)
@@ -176,7 +176,7 @@ struct text_info_t {
     int extra_width,        /* Sum of left and right border widths. */
         extra_height;       /* Sum of top and bottom border widths. */
     boolean blocked;        /*  */
-    boolean destroy_on_ack; /* Destroy this window when acknowleged. */
+    boolean destroy_on_ack; /* Destroy this window when acknowledged. */
 #ifdef GRAPHIC_TOMBSTONE
     boolean is_rip; /* This window needs a tombstone. */
 #endif
index 476c700dd1d540e6c0cce61747942e8bdc45ab99..bf7f3ec66c37dad2ec735673f6431dd3d9108a09 100644 (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))
index e30fe2efd515677a689fa4017707724da42cf2bd..fbe67a3ceb6f695ea3ec26f9351568db67ef07fd 100644 (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");
index 4f8589e3a7d0edd6995a7fc06da2922ccd5829fb..2cadc108e460dc82ab29d991a6606b733a9e8b4e 100644 (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))
index f6fd1d20ffa9d120c215d309ef223c146c5300f3..0e0f565f9c2cfa140c8bb6d66fdd7b3cf0c284ad 100644 (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()
index 63dc9b92001101403fe36383b101e407a37e61ef..135946850e1697b19b16344c876fd63ac3ce74d1 100644 (file)
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -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());
index 141a85db06ecd4ccb160d52f6dab28315e55bda3..8a7fcdad2eef7129d2c446ee51e385381b418c65 100644 (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)
index 8697f39eea6c76aa8b6b61d4d45ce4d412fc4a4e..ca15853989c1b38c6526c9a14d2a9f16ea5770f8 100644 (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)
index a02ce53c13ef470c65a6bed3e8f419b743e763e3..a0961315be50a09608c9297b767c2df10d79a8ea 100644 (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;
index 69f73429fe2c34293137bd2f12d84eea5b4d7675..65e799d6cd271da40e06c3d554ed8171e355739b 100644 (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. */
index 07b5ac46e384cb7d5a54b4dde0279f3dea10678b..e24a9d37b684ec10311c820f9b4647a996c2bc76 100644 (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)
index 07586b615ce3f4fed8eeb2bc986becbd15918ced..41bb4f8e189c3c4e9593352fb99ca259bfd0ae9e 100644 (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 */
index fa0ac11bccb76bf62f36a018e936d4583f40ddda..1138c06ac8feaf95388b639efba446b422cb384b 100644 (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,
index deb046bc460a38755f6155ec9f60d678b25041a0..ea2d143eb4927731adfd0dda013cba41055a3bc2 100644 (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 */
index dd0a4b9aa8cf1488eda95f2e83a2ecf2ec853d73..7be55f7f8fba50c1f6a5bc6a815a1d3c52630d63 100644 (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)));
index 00f419d8a09c953f2ae2b238522b714ce514e3b2..d115a84919388038ade48ae200243ddf0853ebfd 100644 (file)
@@ -243,7 +243,7 @@ vms_getchar()
  * a stalled input connection.  {For packetized environments,
  * cross plural(body_part(FINGER)) and hope for best. :-}
  *
- * This is needed to preserve compatability with SMG interface
+ * This is needed to preserve compatibility with SMG interface
  * for two reasons:
  *    1) retain support for arrow keys, and
  *    2) treat other VTxxx function keys as <esc> for aborting