diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-12-25 16:50:29 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-12-25 16:50:29 +1000 |
commit | 40b2bb6c2426220e364f9f7d62bd57d7c023650f (patch) | |
tree | 887707f1409af7901a250a9ca74539870ae6649b /demos/3rdparty | |
parent | 0345dadebf55980d765826e32854049e498d5759 (diff) | |
download | uGFX-40b2bb6c2426220e364f9f7d62bd57d7c023650f.tar.gz uGFX-40b2bb6c2426220e364f9f7d62bd57d7c023650f.tar.bz2 uGFX-40b2bb6c2426220e364f9f7d62bd57d7c023650f.zip |
Bug in I_sprintf in doom demo
Diffstat (limited to 'demos/3rdparty')
-rw-r--r-- | demos/3rdparty/doom/i_system.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/3rdparty/doom/i_system.c b/demos/3rdparty/doom/i_system.c index 2c6fde95..094144f6 100644 --- a/demos/3rdparty/doom/i_system.c +++ b/demos/3rdparty/doom/i_system.c @@ -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 != '%') { |