[nq] Initialize backtrace code with program path

This will give nice debug info for backtraces when used.
This commit is contained in:
Bill Currie 2023-12-04 23:35:47 +09:00
parent 481602e64e
commit cd53dae82e

View file

@ -32,6 +32,7 @@
# include <unistd.h>
#endif
#include "QF/backtrace.h"
#include "QF/cbuf.h"
#include "QF/dstring.h"
#include "QF/cmd.h"
@ -905,6 +906,7 @@ Host_ExecConfig (cbuf_t *cbuf, int skip_quakerc)
void
Host_Init (void)
{
BT_Init (com_argv[0]);
sys_quake_encoding = true;
Sys_RegisterShutdown (Host_Shutdown, 0);
Sys_Printf ("Host_Init\n");