why did we ever decide not to support %d?

This commit is contained in:
Bill Currie 2006-12-20 08:45:49 +00:00 committed by Jeff Teunissen
parent 4dba10d613
commit acd49060be

View file

@ -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;