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