Bug in I_sprintf in doom demo

This commit is contained in:
inmarket 2013-12-25 16:50:29 +10:00
parent 0345dadebf
commit 40b2bb6c24

View File

@ -270,6 +270,7 @@ void I_sprintf(char *buf, const char *fmt, ...) {
c = *fmt++;
if (c == 0) {
va_end(ap);
*buf = 0;
return;
}
if (c != '%') {