aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-11-19 22:30:22 +0000
committernyamatongwe <unknown>2005-11-19 22:30:22 +0000
commite954eab6141c02d9a5dc285acb5157b9cfee3002 (patch)
tree3f10a35db50f17148ad552790cf19789f78d15c2
parent28de7e12e43590a45da804500659bcd5c1560c8c (diff)
downloadscintilla-mirror-e954eab6141c02d9a5dc285acb5157b9cfee3002.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;