mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Clear the statement line buffer
The problem with moving to a cached buffer is it needs to be cleared. Fixes the weird output of qfprogs and tracing (not missing local defs, though).
This commit is contained in:
parent
edde4bad15
commit
c9186c8296
1 changed files with 2 additions and 0 deletions
|
@ -1243,6 +1243,8 @@ PR_PrintStatement (progs_t *pr, dstatement_t *s, int contents)
|
|||
pr_auxfunction_t *aux_func = 0;
|
||||
pr_debug_data_t data;
|
||||
|
||||
dstring_clearstr (res->line);
|
||||
|
||||
data.pr = pr;
|
||||
data.dstr = res->dstr;
|
||||
|
||||
|
|
Loading…
Reference in a new issue