From af4db1202bd230387c8bd3c67e9397074dccd362 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 17 Dec 2007 17:50:16 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=1328 "Regionsangaben im NR fehlen" --- src/common/gamecode/report.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/gamecode/report.c b/src/common/gamecode/report.c index f0043e41a..52aa0820b 100644 --- a/src/common/gamecode/report.c +++ b/src/common/gamecode/report.c @@ -1033,9 +1033,9 @@ describe(FILE * F, const region * r, int partial, faction * f) int nrd = 0; /* Nachbarregionen, die gesehen werden, ermitteln */ - for (d = 0; d != MAXDIRECTIONS; d++) + for (d = 0; d != MAXDIRECTIONS; d++) { if (see[d] && rconnect(r, d)) nrd++; - + } /* list directions */ dh = false; @@ -1055,7 +1055,7 @@ describe(FILE * F, const region * r, int partial, faction * f) if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER(); bytes = (int)strlcpy(bufp, LOC(f->locale, directions[d]), size); if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER(); - bytes = (int)strlcpy(bufp++, " ", size); + bytes = (int)strlcpy(bufp, " ", size); if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER(); f_regionid(r2, f, regname, sizeof(regname)); bytes = snprintf(bufp, size, trailinto(r2, f->locale), regname);