diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2024-06-30 16:57:16 +1200 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2024-06-30 16:57:25 +1200 |
commit | c23f1eda935a514b886b79f85ce0dab3080c33ef (patch) | |
tree | 469d30c1ec6a17033c2ca173e2120b77e1b98192 /src/devices/screen/draw_line.rs | |
parent | 1380a14177fc07f9d09df937b20487137aab4d4f (diff) | |
download | bedrock-pc-c23f1eda935a514b886b79f85ce0dab3080c33ef.zip |
Fix crash when loading a directory containing weird entries
It was previously assumed that every entry in a directory would be
either a file or a directory, but a non-file and non-directory entry
has been encountered in the wild. In this case, just ignore the file,
leaving it out of the directory listing.
Diffstat (limited to 'src/devices/screen/draw_line.rs')
0 files changed, 0 insertions, 0 deletions