]> granicus.if.org Git - nethack/commitdiff
pline bits
authorcohrs <cohrs>
Wed, 12 Feb 2003 06:30:06 +0000 (06:30 +0000)
committercohrs <cohrs>
Wed, 12 Feb 2003 06:30:06 +0000 (06:30 +0000)
a few plines that were without punctuation.  There may be more non-DEBUG
pline or pline-like things that are still missing punctuation.  They are
almost impossible to find after the fact, since they could be anywhere,
including in various dat files and functions that pass strings and formats
into other functions that call pline.

src/files.c
src/options.c
src/save.c
sys/share/pcunix.c

index 7aaf607629e735c37e289404cec32e9d1a8c0034..87bad0c548c9ef7bed2154522277134b4c301aec 100644 (file)
@@ -716,7 +716,7 @@ d_level *lev;
 #endif
 #ifdef WIZARD
        if (wizard && ret != 0)
-               pline("couldn't rename %s to %s", tempname, fq_bones);
+               pline("couldn't rename %s to %s.", tempname, fq_bones);
 #endif
 }
 
index 56a6cb7bc14028e8626768db906da0eea3fb675f..c4e96e06b79b08b4c75b92d547279d32ebdb5b97 100644 (file)
@@ -1031,7 +1031,7 @@ boolean tinitial, tfrom_file;
                            preferred_pet = 'n';
                            break;
                        default:
-                           pline("Unrecognized pet type '%s'", op);
+                           pline("Unrecognized pet type '%s'.", op);
                            break;
                    }
                } else if (negated) preferred_pet = 'n';
@@ -2188,7 +2188,7 @@ add_menu_cmd_alias(from_ch, to_ch)
     char from_ch, to_ch;
 {
     if (n_menu_mapped >= MAX_MENU_MAPPED_CMDS)
-       pline("out of menu map space");
+       pline("out of menu map space.");
     else {
        mapped_menu_cmds[n_menu_mapped] = from_ch;
        mapped_menu_op[n_menu_mapped] = to_ch;
index d6bd9509a409054f052b8a4ccd340b545724f360..8fb4a55a1dc181a100e4f1158265b0f342b2afb1 100644 (file)
@@ -1035,7 +1035,7 @@ int lev;
        }
 # ifdef WIZARD
        if (wizard) {
-               pline("Swapping in `%s'", from);
+               pline("Swapping in `%s'.", from);
                wait_synch();
        }
 # endif
index 79454f09d22f229e57bd867ea9f6b8a435b85061..4a26eec68059361e4cfa13dac421e9243a6d6cee 100644 (file)
@@ -51,11 +51,11 @@ int fd;
 #  if (defined(MICRO) || defined(WIN32)) && !defined(NO_FSTAT)
     if(fstat(fd, &buf)) {
        if(moves > 1) pline("Cannot get status of saved level? ");
-       else pline("Cannot get status of saved game");
+       else pline("Cannot get status of saved game.");
        return(0);
     } 
     if(comp_times(buf.st_mtime)) { 
-       if(moves > 1) pline("Saved level is out of date");
+       if(moves > 1) pline("Saved level is out of date.");
        else pline("Saved game is out of date. ");
        /* This problem occurs enough times we need to give the player
         * some more information about what causes it, and how to fix.