diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 306e375b1..5dd2df7e3 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -720,6 +720,8 @@ void Editor::RedrawSelMargin(int line, bool allAfter) { rcSelMargin.top = rcLine.top; if (!allAfter) rcSelMargin.bottom = rcLine.bottom; + if (rcSelMargin.Empty()) + return; } if (wMargin.GetID()) { Point ptOrigin = GetVisibleOriginInMain(); |