aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-06-08 09:09:43 +1000
committernyamatongwe <unknown>2011-06-08 09:09:43 +1000
commit5c02bfda05cb8db50cb5d4f8a8fd692ec8ed970c (patch)
treec2b1bcce2d1ecaf47b05bd8371e168efe31455f4 /src
parent3e7418a92bcc8839ad4d8e944a0b828066491f0f (diff)
downloadscintilla-mirror-5c02bfda05cb8db50cb5d4f8a8fd692ec8ed970c.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;