BUG 2368: additional space

This commit is contained in:
Enno Rehling 2017-10-06 04:14:07 +02:00
parent 02cfde0a49
commit f00ff2d16e
1 changed files with 3 additions and 0 deletions

View File

@ -1090,6 +1090,9 @@ void report_region(struct stream *out, const region * r, faction * f)
message *msg; message *msg;
if (owner != NULL) { if (owner != NULL) {
bytes = (int)strlcpy(bufp, " ", size);
if (wrptr(&bufp, &size, bytes) != 0)
WARN_STATIC_BUFFER();
msg = msg_message("nr_region_owner", "faction", owner); msg = msg_message("nr_region_owner", "faction", owner);
bytes = (int)nr_render(msg, f->locale, bufp, size, f); bytes = (int)nr_render(msg, f->locale, bufp, size, f);
msg_release(msg); msg_release(msg);