fix for 40 column output. forgot that 10*4=40 and \n after 40 chars doesn't do

what was wanted.
This commit is contained in:
Bill Currie 2000-10-02 17:50:02 +00:00
parent a72953290b
commit 015c3ace6c

View file

@ -308,7 +308,7 @@ maplist_print(struct maplist *maplist)
for (i=0; i<maplist->count - 1; i++) {
name = maplist->list[i];
end = strstr (name, ".bsp");
Con_Printf ("%-9.*s%c", end - name, name, ((i + 1) % 4) ? ' ' : '\n');
Con_Printf ("%-8.*s%c", end - name, name, ((i + 1) % 4) ? ' ' : '\n');
}
name = maplist->list[i];
end = strstr (name, ".bsp");