1
0
mirror of synced 2025-01-19 01:24:15 +01:00

fix: Sequence escape codes

This commit is contained in:
WerWolv 2022-09-13 14:10:52 +02:00
parent 9d7e2eccac
commit bda4aadc54

View File

@ -339,7 +339,7 @@ namespace hex {
auto c = [&] { return string[offset]; };
if (c() == '\\') {
if ((offset + 2) >= string.length()) return {};
if ((offset + 2) > string.length()) return {};
offset++;