Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(table_translator): index out of bound access in string
when trying to add blank to preedit then increase pos, might lead to input[pos - 1] out of bound. `pos` is tracking string variable `preedit`, they should be updated in sync. checking delimiters at word ending should also refer to `preedit` instead of the unchanged `input_`.
- Loading branch information