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:
Bill Currie 2020-02-27 01:25:41 +09:00
parent edde4bad15
commit c9186c8296

View file

@ -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;