Bug in I_sprintf in doom demo

ugfx_release_2.6
inmarket 2013-12-25 16:50:29 +10:00
parent 0345dadebf
commit 40b2bb6c24
1 changed files with 1 additions and 0 deletions

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 != '%') {