aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-04-11 21:50:25 +1000
committernyamatongwe <devnull@localhost>2012-04-11 21:50:25 +1000
commit79a6f2428f998631c2dea7c1ec594302c5cdf283 (patch)
tree02562c70a3e3ebed67b66c371006064effa0123a
parentffb5cfffbd4c033a9b4ca6e3736889cb88790b08 (diff)
downloadscintilla-mirror-79a6f2428f998631c2dea7c1ec594302c5cdf283.tar.gz
Bug #3514882. Stop invalidating pixmapLine (and indirectly pixmapSelMargin)
unnecessary on each call to Paint(). This was added in change set 2688 as part of a fix for resource leaks problem in palette mode, which doesn't exist anymore. From Marko Njezic.
-rw-r--r--src/Editor.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 85b70b7ac..dd3e632b7 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3504,7 +3504,6 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {
StyleToPositionInView(PositionAfterArea(rcArea));
- pixmapLine->Release();
RefreshStyleData();
RefreshPixMaps(surfaceWindow);