mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Better use of Sys_Printf.
This commit is contained in:
parent
94362cc010
commit
91f6b7f555
1 changed files with 4 additions and 6 deletions
|
@ -1087,11 +1087,9 @@ ED_Print (progs_t *pr, edict_t *ed)
|
|||
PR_Error (pr, "ED_Print: Unhandled type %d", type);
|
||||
}
|
||||
|
||||
Sys_Printf ("%s", name);
|
||||
l = strlen (name);
|
||||
while (l++ < 15)
|
||||
Sys_Printf (" ");
|
||||
|
||||
Sys_Printf ("%s\n", value_string (pr, d->type, v));
|
||||
l = 15 - strlen (name);
|
||||
if (l < 1)
|
||||
l = 1;
|
||||
Sys_Printf ("%s%*s%s\n", name, l, "", value_string (pr, d->type, v));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue