From: Markus Armbruster Date: Mon, 16 May 2016 16:43:07 +0000 (+0200) Subject: plnsub: Add missing newline to two messages X-Git-Tag: v4.4.0~297 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=3f2f201ddb1e9492d4fc06982f90b1c0fcdff888 plnsub: Add missing newline to two messages 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 --- diff --git a/src/lib/commands/miss.c b/src/lib/commands/miss.c index 3ef1c2201..85258d9a4 100644 --- a/src/lib/commands/miss.c +++ b/src/lib/commands/miss.c @@ -29,7 +29,7 @@ * Known contributors to this file: * Thomas Ruschak, 1992 * Steve McClure, 2000 - * Markus Armbruster, 2005-2013 + * Markus Armbruster, 2005-2016 */ #include @@ -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; } diff --git a/src/lib/subs/plnsub.c b/src/lib/subs/plnsub.c index deebbe3dd..4ac0d87fb 100644 --- a/src/lib/subs/plnsub.c +++ b/src/lib/subs/plnsub.c @@ -30,7 +30,7 @@ * Dave Pare, 1986 * Ken Stevens, 1995 * Steve McClure, 1998-2000 - * Markus Armbruster, 2004-2015 + * Markus Armbruster, 2004-2016 */ #include @@ -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; }