[qwaq] Clear qwaq's print buffer

Didn't realized PR_Sprintf appended. Or, more likely, I had forgotten
because I imagine Deek and I discussed it at the time.
This commit is contained in:
Bill Currie 2020-02-27 02:11:54 +09:00
parent 789f263855
commit e8c357393f

View file

@ -151,6 +151,7 @@ bi_wprintf (progs_t *pr)
int count = pr->pr_argc - 2;
pr_type_t **args = pr->pr_params + 2;
dstring_clearstr (res->print_buffer);
PR_Sprintf (pr, res->print_buffer, "bi_wprintf", fmt, count, args);
waddstr (window->win, res->print_buffer->str);
wrefresh (window->win);