forked from github/server
duplicate spaces in ROUTE order.
This commit is contained in:
parent
e4c2bb2d30
commit
dae2a22b35
|
@ -1043,8 +1043,10 @@ cycle_route(order * ord, unit *u, int gereist)
|
|||
assert(!pause);
|
||||
if (!pause) {
|
||||
const char * loc = LOC(lang, shortdirections[d]);
|
||||
if (bufp!=tail) {
|
||||
bytes = (int)strlcpy(bufp, " ", size);
|
||||
if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER();
|
||||
}
|
||||
bytes = (int)strlcpy(bufp, loc, size);
|
||||
if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue