]> granicus.if.org Git - nethack/commitdiff
Comment typofixes, pt 2
authorPasi Kallinen <paxed@alt.org>
Sat, 17 Oct 2015 10:15:46 +0000 (13:15 +0300)
committerPasi Kallinen <paxed@alt.org>
Sat, 17 Oct 2015 10:15:46 +0000 (13:15 +0300)
21 files changed:
include/color.h
include/dungeon.h
include/macpopup.h
include/mextra.h
include/objclass.h
include/tradstdc.h
src/attrib.c
src/botl.c
src/cmd.c
src/dokick.c
src/dungeon.c
src/eat.c
src/engrave.c
src/invent.c
src/objnam.c
src/options.c
src/quest.c
src/read.c
src/weapon.c
src/zap.c
win/gnome/gnbind.h

index 6ad75e221147d1e4e5f758618104fb1bf4c03aab..b05ae6d73edda739f24966cb91d87a3a73e209ad 100644 (file)
@@ -7,7 +7,7 @@
 
 /*
  * The color scheme used is tailored for an IBM PC.  It consists of the
- * standard 8 colors, folowed by their bright counterparts.  There are
+ * standard 8 colors, followed by their bright counterparts.  There are
  * exceptions, these are listed below. Bright black doesn't mean very
  * much, so it is used as the "default" foreground color of the screen.
  */
index c039814a553112538a7228e5f42ac1ecd66b3429..df6a2c8da1ba1af20fed593f004d42cff4d18bfe 100644 (file)
@@ -180,7 +180,7 @@ struct linfo {
  * To be consistent, one can assume that this map is in the player's mind and
  * has no physical correspondence (eliminating illiteracy/blind/hands/hands
  * free
- * concerns.) Therefore, this map is not exaustive nor detailed ("some
+ * concerns.) Therefore, this map is not exhaustive nor detailed ("some
  * fountains").
  * This makes it also subject to player conditions (amnesia).
  */
index 1e99c664a31dede8ef36a935ded26f62c292e874..491592b1f1d0c2b2d02f11244688756aa65444d7 100644 (file)
@@ -1,5 +1,5 @@
 /* NetHack 3.6 macpopup.h      $NHDT-Date: 1432512781 2015/05/25 00:13:01 $  $NHDT-Branch: master $:$NHDT-Revision: 1.10 $ */
-/* Copyright (c) Nethack Develpment Team, 1999.                */
+/* Copyright (c) Nethack Development Team, 1999.               */
 /* NetHack may be freely redistributed.  See license for details. */
 
 #ifndef MACPOPUP_H
index 0fc1df1e17a15cfddb17cda58e9a183cd68d8527..e2cde882cda77c841370af1ea68d495bbc7b0565 100644 (file)
@@ -157,7 +157,7 @@ struct emin {
 
 struct edog {
     long droptime;            /* moment dog dropped object */
-    unsigned dropdist;        /* dist of drpped obj from @ */
+    unsigned dropdist;        /* dist of dropped obj from @ */
     int apport;               /* amount of training */
     long whistletime;         /* last time he whistled */
     long hungrytime;          /* will get hungry at this time */
index 28e65388a204d132b49bb892ff92e275d7b2217a..f2db33c99e7d34efb2f1ed39d428c41ae9413550 100644 (file)
@@ -13,7 +13,7 @@ struct objclass {
     char *oc_uname;     /* called by user */
     Bitfield(oc_name_known, 1);
     Bitfield(oc_merge, 1);      /* merge otherwise equal objects */
-    Bitfield(oc_uses_known, 1); /* obj->known affects full decription */
+    Bitfield(oc_uses_known, 1); /* obj->known affects full description */
                                 /* otherwise, obj->dknown and obj->bknown */
                                 /* tell all, and obj->known should always */
                                 /* be set for proper merging behavior */
index 23e04e16c986e3c1aaef885b1a134e1d5aee2ece..36ce4b9defae3e296eacde3e469704992ff4aabe 100644 (file)
@@ -51,7 +51,7 @@
  */
 
 /* #define USE_VARARGS */ /* use <varargs.h> instead of <stdarg.h> */
-/* #define USE_OLDARGS */ /* don't use any variable argument facilites */
+/* #define USE_OLDARGS */ /* don't use any variable argument facilities */
 
 #if defined(apollo) /* Apollos have stdarg(3) but not stdarg.h */
 #define USE_VARARGS
index 1f0277776d03212fe71b3996de22d4657439ca21..59d9155d2ae66a8b85e62ae2878df0bbe6661288 100644 (file)
@@ -414,7 +414,7 @@ exerper()
             break;
         }
 
-        /* Encumberance Checks */
+        /* Encumbrance Checks */
         debugpline0("exerper: Encumber checks");
         switch (near_capacity()) {
         case MOD_ENCUMBER:
index 0e0f565f9c2cfa140c8bb6d66fdd7b3cf0c284ad..baa6bdcf763d4378430e79da5c63e51b057d7d14 100644 (file)
@@ -610,7 +610,7 @@ bot()
      * if that isn't done, since it sets context.botlx when a menu or
      * text display obliterates the status line.
      *
-     * To work around it, we call status_update() with ficticious
+     * To work around it, we call status_update() with fictitious
      * index of BL_FLUSH (-1).
      */
     if (context.botlx && !updated)
index 135946850e1697b19b16344c876fd63ac3ce74d1..066e4baf7642f418c5aaf1deb33ed324cb13d5ec 100644 (file)
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -1333,7 +1333,7 @@ int final; /* ENL_GAMEINPROGRESS:0, ENL_GAMEOVERALIVE, ENL_GAMEOVERDEAD */
 
     Strcpy(tmpbuf, plname);
     *tmpbuf = highc(*tmpbuf); /* same adjustment as bottom line */
-    /* as in background_enlighenment, when poly'd we need to use the saved
+    /* as in background_enlightenment, when poly'd we need to use the saved
        gender in u.mfemale rather than the current you-as-monster gender */
     Sprintf(buf, "%s the %s's attributes:", tmpbuf,
             ((Upolyd ? u.mfemale : flags.female) && urole.name.f)
@@ -1696,7 +1696,7 @@ int final;
         Sprintf(buf, "%s blind",
                 !haseyes(youmonst.data) ? "innately"
                 : u.uroleplay.blind ? "permanently"
-                  /* better phrasing desparately wanted... */
+                  /* better phrasing desperately wanted... */
                   : Blindfolded_only ? "deliberately"
                     : "temporarily");
         if (wizard && (Blinded & TIMEOUT) != 0L
index 729c824e884bce59dd2698747aa897271a988ff1..90818add32948297abc43097334b9c5c297aeb54 100644 (file)
@@ -869,7 +869,7 @@ dokick()
     mtmp = isok(x, y) ? m_at(x, y) : 0;
     /* might not kick monster if it is hidden and becomes revealed,
        if it is peaceful and player declines to attack, or if the
-       hero passes out due to enbumbrance with low hp; context.move
+       hero passes out due to encumbrance with low hp; context.move
        will be 1 unless player declines to kick peaceful monster */
     if (mtmp) {
         oldglyph = glyph_at(x, y);
index abfa7bd0b4ddeb93b614698bbf7a7a0a54c1d923..a1539a13eaf8ecca899f48435bace0ddb783edf4 100644 (file)
@@ -578,7 +578,7 @@ struct proto_dungeon *pd;
     for (i = 0; i <= MAXLEVEL; i++)
         map[i] = FALSE;
 
-    /* get base and range and set those entried to true */
+    /* get base and range and set those entries to true */
     count = level_range(lev->dlevel.dnum, pd->tmplevel[idx].lev.base,
                         pd->tmplevel[idx].lev.rand, pd->tmplevel[idx].chain,
                         pd, &start);
@@ -627,7 +627,7 @@ int d;
  * template.  Next pick one.  Then try to place the next level.  If
  * sucessful, we're done.  Otherwise, try another (and another) until
  * all possible places have been tried.  If all possible places have
- * been exausted, return false.
+ * been exhausted, return false.
  */
 STATIC_OVL boolean
 place_level(proto_index, pd)
@@ -2210,7 +2210,7 @@ recalc_mapseen()
     /* Should not happen in general, but possible if in the process
      * of being booted from the quest.  The mapseen object gets
      * removed during the expulsion but prior to leaving the level
-     * [Since quest explusion no longer deletes quest mapseen data,
+     * [Since quest expulsion no longer deletes quest mapseen data,
      * null return from find_mapseen() should now be impossible.]
      */
     if (!(mptr = find_mapseen(&u.uz)))
index 2a07830f262dc0513500c54c70aca3198a9fc5e9..d7f0e747f6f5eab4d174b19a495b3b9187b102c8 100644 (file)
--- a/src/eat.c
+++ b/src/eat.c
@@ -2290,7 +2290,7 @@ struct obj *otmp;
     return 0;
 }
 
-int doeat() /* generic "eat" command funtion (see cmd.c) */
+int doeat() /* generic "eat" command function (see cmd.c) */
 {
     struct obj *otmp;
     int basenutrit; /* nutrition of full item */
index 6b843545d8d4c9ea8c1f5fe4fa32add5dbe07dce..f36c4910548226091d78c504042634400145ab6e 100644 (file)
@@ -1118,7 +1118,7 @@ doengrave()
             } else if (len > 1)
                 otmp->spe -= len >> 1;
             else
-                otmp->spe -= 1; /* Prevent infinite grafitti */
+                otmp->spe -= 1; /* Prevent infinite graffiti */
         }
         if (multi)
             nomovemsg = "You finish defacing the dungeon.";
index 0c430ee002da8f14ab601b74984f86b66306239e..e4a9cca6a648b0f0fe99da82c7493d24377f6a76 100644 (file)
@@ -2808,7 +2808,7 @@ boolean picked_some;
     return (!!Blind);
 }
 
-/* explicilty look at what is here, including all objects */
+/* explicitly look at what is here, including all objects */
 int
 dolook()
 {
index 41bb4f8e189c3c4e9593352fb99ca259bfd0ae9e..b973a98052248caa11165e60a37aa21a35831f56 100644 (file)
@@ -1832,7 +1832,7 @@ static const char *const as_is[] = {
        variant instead of attempting to support both. */
 };
 
-/* singularize/pluralize decisiions common to both makesingular & makeplural
+/* singularize/pluralize decisions common to both makesingular & makeplural
  */
 STATIC_OVL boolean
 singplur_lookup(basestr, endstring, to_plural, alt_as_is)
index 448b07b242ae5d9db136f22f7d8928dd189be508..45b2856e353c73a59551bcc8245228721352d29f 100644 (file)
@@ -2665,7 +2665,7 @@ boolean tinitial, tfrom_file;
     /* things to disclose at end of game */
     if (match_optname(opts, "disclose", 7, TRUE)) {
         /*
-         * The order that the end_disclore options are stored:
+         * The order that the end_disclose options are stored:
          *     inventory, attribs, vanquished, genocided,
          *     conduct, overview.
          * There is an array in flags:
index cefcd639e04f5ce028cf25be3df452b6a06077bd..f01ca0422134ed8718e8d5fd1b9c4d5423d6c372 100644 (file)
@@ -158,7 +158,7 @@ boolean talk;
 }
 
 /*
- * Expell the player to the stairs on the parent of the quest dungeon.
+ * Expel the player to the stairs on the parent of the quest dungeon.
  *
  * This assumes that the hero is currently _in_ the quest dungeon and that
  * there is a single branch to and from it.
index 92e34c24cda9faf57884ae79ada7dc191e4b6143..b652db9a1c3bd269a75684537a4edfa313f2f97a 100644 (file)
@@ -837,7 +837,7 @@ int howmuch;
     if (!rn2(3))
         forget_levels(rn2(25));
 
-    /* 1 in 3 chance of forgeting some objects */
+    /* 1 in 3 chance of forgetting some objects */
     if (!rn2(3))
         forget_objects(rn2(25));
 
index 9e77e5a2a2928e7adcbd6fe098f6d196c3f02224..eb0e0b67c7038dcbd59eceddd6da5f191812282b 100644 (file)
@@ -337,7 +337,7 @@ struct monst *mon;
     }
 
     if (tmp > 0) {
-        /* It's debateable whether a rusted blunt instrument
+        /* It's debatable whether a rusted blunt instrument
            should do less damage than a pristine one, since
            it will hit with essentially the same impact, but
            there ought to some penalty for using damaged gear
index b507b05891334acfaee88f198c06dfadb4f08860..3c623071721984f54f90af8683676822f862ea5c 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -952,7 +952,7 @@ register struct obj *obj;
         || (otyp == POT_WATER && (obj->blessed || obj->cursed))) {
         if (obj->spe != ((obj->oclass == WAND_CLASS) ? -1 : 0)
             && otyp != WAN_CANCELLATION && /* can't cancel cancellation */
-            otyp != MAGIC_LAMP && /* cancelling doesn't remove djini */
+            otyp != MAGIC_LAMP && /* cancelling doesn't remove djinni */
             otyp != CANDELABRUM_OF_INVOCATION) {
             costly_alteration(obj, COST_CANCEL);
             obj->spe = (obj->oclass == WAND_CLASS) ? -1 : 0;
index a6b669278c7e7bf4067a5a8c0d3765ab15e060fa..a4e6b91395557f32e6c7be1de8c3b136c371c118 100644 (file)
@@ -65,7 +65,7 @@ void gnome_mark_synch(void);
 void gnome_wait_synch(void);
 void gnome_cliparound(int x, int y);
 /* The following function does the right thing.  The nethack
- * gnome_cliparound (which lacks the winid) simply calls this funtion.
+ * gnome_cliparound (which lacks the winid) simply calls this function.
 */
 void gnome_cliparound_proper(winid wid, int x, int y);
 void gnome_print_glyph(winid wid, XCHAR_P x, XCHAR_P y, int glyph);