fix: Sequence escape codes
This commit is contained in:
parent
9d7e2eccac
commit
bda4aadc54
@ -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++;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user