maps: Trim unwanted trailing space from map decoration

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2014-01-05 11:59:40 +01:00
parent aafcd97476
commit d28487acac
2 changed files with 664 additions and 664 deletions

View file

@ -340,7 +340,7 @@ draw_map(char origin, int map_flags, struct nstr_sect *nsp)
yval = yrel(np, y);
wmap[i][nsp->range.width] = '\0';
pr("%4d %s %-4d\n", yval, wmap[i], yval);
pr("%4d %s %d\n", yval, wmap[i], yval);
if (y >= WORLD_Y)
y -= WORLD_Y;
}

File diff suppressed because it is too large Load diff