Bug in I_sprintf in doom demo
This commit is contained in:
parent
0345dadebf
commit
40b2bb6c24
1
demos/3rdparty/doom/i_system.c
vendored
1
demos/3rdparty/doom/i_system.c
vendored
@ -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 != '%') {
|
||||
|
Loading…
Reference in New Issue
Block a user