Beim schreiben von Attributen etwas Ordnung gemacht.

Einige Attribute haben _nicht_ ihre schreibroutine mit einem space terminiert, was sie müssen, damit es nicht sowas gibt:
road 2 0 0 1 0 50 0end
This commit is contained in:
Enno Rehling 2004-05-31 12:35:13 +00:00
parent bc0e8549b9
commit 7d2ea7b398
2 changed files with 1 additions and 2 deletions

View File

@ -433,7 +433,7 @@ b_writeroad(const border * b, FILE *f)
x = (int)b->data;
y = x & 0xFFFF;
x = (x >> 16) & 0xFFFF;
fprintf(f, "%d %d", x, y);
fprintf(f, "%d %d ", x, y);
}
static boolean

View File

@ -301,7 +301,6 @@ a_write(FILE * f, const attrib * attribs)
assert(na->type->hashkey || !"attribute not registered");
fprintf(f, "%s ", na->type->name);
na->type->write(na, f);
putc(' ', f);
}
na = na->next;
}