]> git.pond.sub.org Git - empserver/commitdiff
plnsub: Add missing newline to two messages
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 16 May 2016 16:43:07 +0000 (18:43 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 12:03:09 +0000 (14:03 +0200)
The two "while it is carrying a nuclear weapon" messages lack
newlines.  Add them.  Screwed up in commit a269cdd, v4.3.23.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/miss.c
src/lib/subs/plnsub.c

index 3ef1c220121275fad0a98818aa1f83323bf4a66d..85258d9a43baf34073db866a49b97d320bcaec59 100644 (file)
@@ -29,7 +29,7 @@
  *  Known contributors to this file:
  *     Thomas Ruschak, 1992
  *     Steve McClure, 2000
- *     Markus Armbruster, 2005-2013
+ *     Markus Armbruster, 2005-2016
  */
 
 #include <config.h>
@@ -244,7 +244,8 @@ mission(void)
        }
 
        if (type == EF_PLANE && nuk_on_plane((struct plnstr *)gp) >= 0) {
-           pr("%s can't perform a mission while it carries a nuclear weapon",
+           pr("%s can't perform a mission"
+              " while it is carrying a nuclear weapon\n",
               unit_nameof(gp));
            continue;
        }
index deebbe3dd9673f89851664dc37b5ad940b5c71e2..4ac0d87fba28b8f37f6e09293931314d8935c42b 100644 (file)
@@ -30,7 +30,7 @@
  *     Dave Pare, 1986
  *     Ken Stevens, 1995
  *     Steve McClure, 1998-2000
- *     Markus Armbruster, 2004-2015
+ *     Markus Armbruster, 2004-2016
  */
 
 #include <config.h>
@@ -725,7 +725,7 @@ pln_equip(struct plist *plp, struct ichrstr *ip, char mission)
                needed = 0;
            else {
                pr("%s can't fly this mission"
-                  " while it is carrying a nuclear weapon",
+                  " while it is carrying a nuclear weapon\n",
                   prplane(pp));
                return -1;
            }