aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-06-08 09:09:43 +1000
committernyamatongwe <devnull@localhost>2011-06-08 09:09:43 +1000
commit017178191be60f59c6679c2bc9d6ddcd353f5e0f (patch)
tree2cedcb9594a290e9acb7d89526e2dbc51859a174 /src
parent2fbfe87117ed370e1e7020f632b2e00aa96bff3d (diff)
downloadscintilla-mirror-017178191be60f59c6679c2bc9d6ddcd353f5e0f.tar.gz
Initialize visblePolicy and visibleSlop to fix bug #3303406.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 2edfbfa94..c9d10adeb 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -144,6 +144,9 @@ Editor::Editor() {
caretYPolicy = CARET_EVEN;
caretYSlop = 0;
+
+ visiblePolicy = 0;
+ visibleSlop = 0;
searchAnchor = 0;