maps: Trim unwanted trailing space from map decoration
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
aafcd97476
commit
d28487acac
2 changed files with 664 additions and 664 deletions
|
@ -340,7 +340,7 @@ draw_map(char origin, int map_flags, struct nstr_sect *nsp)
|
||||||
|
|
||||||
yval = yrel(np, y);
|
yval = yrel(np, y);
|
||||||
wmap[i][nsp->range.width] = '\0';
|
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)
|
if (y >= WORLD_Y)
|
||||||
y -= WORLD_Y;
|
y -= WORLD_Y;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue