mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix a braino that causes args to /not/ get saved
This commit is contained in:
parent
088ae9d697
commit
bb852eba75
1 changed files with 3 additions and 1 deletions
|
@ -419,10 +419,12 @@ Sys_Error (const char *error, ...)
|
||||||
va_list args;
|
va_list args;
|
||||||
#ifdef VA_LIST_IS_ARRAY
|
#ifdef VA_LIST_IS_ARRAY
|
||||||
va_list tmp_args;
|
va_list tmp_args;
|
||||||
VA_COPY (tmp_args, args);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
va_start (args, error);
|
va_start (args, error);
|
||||||
|
#ifdef VA_LIST_IS_ARRAY
|
||||||
|
VA_COPY (tmp_args, args);
|
||||||
|
#endif
|
||||||
sys_err_printf_function (error, args);
|
sys_err_printf_function (error, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue