From 94ec39d7bbb2e6b5d2bb435a559b382e45e65ece Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 26 Jun 2015 14:44:28 +0200 Subject: [PATCH] Bug 2114: broken army listing during combat. https://bugs.eressea.de/view.php?id=2114 --- src/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle.c b/src/battle.c index 8499ae3db..9761f2978 100644 --- a/src/battle.c +++ b/src/battle.c @@ -3760,7 +3760,7 @@ static int battle_report(battle * b) char buffer[32]; if (komma) { - strlcpy(bufp, ", ", size); + bytes = strlcpy(bufp, ", ", size); if (wrptr(&bufp, &size, bytes) != 0) WARN_STATIC_BUFFER(); }