mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
fix: Multiple race conditions with pattern sorting
This commit is contained in:
@@ -1322,8 +1322,6 @@ void TextEditor::EnterCharacter(ImWchar aChar, bool aShift) {
|
||||
auto coord = GetActualCursorCoordinates();
|
||||
u.mAddedStart = coord;
|
||||
|
||||
assert(!mLines.empty());
|
||||
|
||||
if (aChar == '\n') {
|
||||
InsertLine(coord.mLine + 1);
|
||||
auto &line = mLines[coord.mLine];
|
||||
|
||||
Reference in New Issue
Block a user