mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibGUI: Fix typo in TextEditor
This commit is contained in:
committed by
Linus Groh
parent
9a28c8dc74
commit
92e337de21
Notes:
sideshowbarker
2024-07-17 20:21:52 +09:00
Author: https://github.com/TobyAsE Commit: https://github.com/SerenityOS/serenity/commit/92e337de21f Pull-request: https://github.com/SerenityOS/serenity/pull/12098
@@ -572,7 +572,7 @@ void TextEditor::paint_event(PaintEvent& event)
|
||||
break;
|
||||
}
|
||||
if (span.range.start().line() == span.range.end().line() && span.range.end().column() < span.range.start().column()) {
|
||||
dbgln_if(TEXTEDITOR_DEBUG, "span form {}:{} to {}:{} has negative length => ignoring", span.range.start().line(), span.range.start().column(), span.range.end().line(), span.range.end().column());
|
||||
dbgln_if(TEXTEDITOR_DEBUG, "span from {}:{} to {}:{} has negative length => ignoring", span.range.start().line(), span.range.start().column(), span.range.end().line(), span.range.end().column());
|
||||
++span_index;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user