From 2643ae3ee91c0b5ddb04f61c51214bee88f1016c Mon Sep 17 00:00:00 2001 From: cohrs Date: Wed, 12 Feb 2003 06:30:06 +0000 Subject: [PATCH] pline bits 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 | 2 +- src/options.c | 4 ++-- src/save.c | 2 +- sys/share/pcunix.c | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/files.c b/src/files.c index 7aaf60762..87bad0c54 100644 --- a/src/files.c +++ b/src/files.c @@ -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 } diff --git a/src/options.c b/src/options.c index 56a6cb7bc..c4e96e06b 100644 --- a/src/options.c +++ b/src/options.c @@ -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; diff --git a/src/save.c b/src/save.c index d6bd9509a..8fb4a55a1 100644 --- a/src/save.c +++ b/src/save.c @@ -1035,7 +1035,7 @@ int lev; } # ifdef WIZARD if (wizard) { - pline("Swapping in `%s'", from); + pline("Swapping in `%s'.", from); wait_synch(); } # endif diff --git a/sys/share/pcunix.c b/sys/share/pcunix.c index 79454f09d..4a26eec68 100644 --- a/sys/share/pcunix.c +++ b/sys/share/pcunix.c @@ -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. -- 2.40.0