summaryrefslogtreecommitdiff
path: root/src/emulator.rs
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2024-08-10 14:34:00 +1200
committerBen Bridle <bridle.benjamin@gmail.com>2024-08-10 14:37:02 +1200
commit59820850b2bd326a20306279bdcbe52982a74889 (patch)
treee1273725455707828bb64ce004099b556389bd1e /src/emulator.rs
parent516f5cf5edfb7a2c4a4f3571aa6ce692a476d582 (diff)
downloadbedrock-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