aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-11-19 22:30:22 +0000
committernyamatongwe <devnull@localhost>2005-11-19 22:30:22 +0000
commit6874ac30092561dceb5397676435467d1492a238 (patch)
tree3f10a35db50f17148ad552790cf19789f78d15c2
parent895432c7d07ac62eb1bb9208c6dfe93b9d9b1877 (diff)
downloadscintilla-mirror-6874ac30092561dceb5397676435467d1492a238.tar.gz
Fixed potential crashes in NotifyPainted by reseting an AutoLineLayout
when no longer needed so its LineLayout is checked back into the cache so can no longer conflict.
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 93560abdf..3bb3cab09 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -2970,6 +2970,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {
visibleLine++;
//gdk_flush();
}
+ ll.Set(0);
//if (durPaint < 0.00000001)
// durPaint = 0.00000001;