[buffer] Rewind cursor in clear_output()

This commit is contained in:
Behdad Esfahbod 2021-07-12 16:55:08 -06:00
parent 1cb0ca1f2c
commit 05c17787c4
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ hb_buffer_t::clear_output ()
have_output = true;
have_positions = false;
idx = 0;
out_len = 0;
out_info = info;
}