mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +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);
|
PRINT (integer);
|
||||||
break;
|
break;
|
||||||
case 'i':
|
case 'i':
|
||||||
|
case 'd':
|
||||||
dstring_appendstr (tmp, "d");
|
dstring_appendstr (tmp, "d");
|
||||||
PRINT (integer);
|
PRINT (integer);
|
||||||
break;
|
break;
|
||||||
|
@ -727,6 +728,7 @@ PR_Sprintf (progs_t *pr, dstring_t *result, const char *name,
|
||||||
fi = &(*fi)->next;
|
fi = &(*fi)->next;
|
||||||
break;
|
break;
|
||||||
case 'i':
|
case 'i':
|
||||||
|
case 'd':
|
||||||
case 'c':
|
case 'c':
|
||||||
// integer
|
// integer
|
||||||
(*fi)->type = *c;
|
(*fi)->type = *c;
|
||||||
|
|
Loading…
Reference in a new issue