mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-04 10:30:52 +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);
|
PR_Error (pr, "ED_Print: Unhandled type %d", type);
|
||||||
}
|
}
|
||||||
|
|
||||||
Sys_Printf ("%s", name);
|
l = 15 - strlen (name);
|
||||||
l = strlen (name);
|
if (l < 1)
|
||||||
while (l++ < 15)
|
l = 1;
|
||||||
Sys_Printf (" ");
|
Sys_Printf ("%s%*s%s\n", name, l, "", value_string (pr, d->type, v));
|
||||||
|
|
||||||
Sys_Printf ("%s\n", value_string (pr, d->type, v));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue