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);
|
assert(!pause);
|
||||||
if (!pause) {
|
if (!pause) {
|
||||||
const char * loc = LOC(lang, shortdirections[d]);
|
const char * loc = LOC(lang, shortdirections[d]);
|
||||||
bytes = (int)strlcpy(bufp, " ", size);
|
if (bufp!=tail) {
|
||||||
if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER();
|
bytes = (int)strlcpy(bufp, " ", size);
|
||||||
|
if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER();
|
||||||
|
}
|
||||||
bytes = (int)strlcpy(bufp, loc, size);
|
bytes = (int)strlcpy(bufp, loc, size);
|
||||||
if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER();
|
if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue