[Fix] "none" not showing up when ship had no cargo.
This commit is contained in:
parent
e3a0ec37cf
commit
c1db3ff7ab
@ -173,7 +173,7 @@ static void board_update(void) {
|
||||
snprintf(str, 11,
|
||||
"%s\n", cred);
|
||||
if(p->ncommodities == 0)
|
||||
snprintf(buf, 128, "none");
|
||||
strncat(str, "none", 10);
|
||||
else {
|
||||
for(i = 0; i < p->ncommodities; i++) {
|
||||
snprintf(buf, 32,
|
||||
|
Loading…
Reference in New Issue
Block a user