mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
why did we ever decide not to support %d?
This commit is contained in:
parent
4dba10d613
commit
acd49060be
1 changed files with 2 additions and 0 deletions
|
@ -576,6 +576,7 @@ I_DoPrint (dstring_t *result, fmt_item_t *formatting)
|
|||
PRINT (integer);
|
||||
break;
|
||||
case 'i':
|
||||
case 'd':
|
||||
dstring_appendstr (tmp, "d");
|
||||
PRINT (integer);
|
||||
break;
|
||||
|
@ -727,6 +728,7 @@ PR_Sprintf (progs_t *pr, dstring_t *result, const char *name,
|
|||
fi = &(*fi)->next;
|
||||
break;
|
||||
case 'i':
|
||||
case 'd':
|
||||
case 'c':
|
||||
// integer
|
||||
(*fi)->type = *c;
|
||||
|
|
Loading…
Reference in a new issue