diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2024-08-10 14:34:00 +1200 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2024-08-10 14:37:02 +1200 |
commit | 59820850b2bd326a20306279bdcbe52982a74889 (patch) | |
tree | e1273725455707828bb64ce004099b556389bd1e /src/emulator.rs | |
parent | 516f5cf5edfb7a2c4a4f3571aa6ce692a476d582 (diff) | |
download | bedrock-pc-59820850b2bd326a20306279bdcbe52982a74889.zip |
Fix panic in ReadOnlyTextBuffer
Previously when reading from a ReadOnlyTextBuffer the pointer would
fall off the end and crash the emulator.
This commit also makes the ReadOnlyTextBuffer Unicode-compatible,
rather than the previous behaviour of clamping every character into
the ASCII range.
Diffstat (limited to 'src/emulator.rs')
0 files changed, 0 insertions, 0 deletions