aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/ScintillaQt.cpp
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-01-05 14:52:24 +1100
committerNeil <nyamatongwe@gmail.com>2020-01-05 14:52:24 +1100
commitdbb7374c185718655dd77c294eb281e8b93c538e (patch)
tree15f5a89f168f537aa9d4b7f5bc8f03e0afcd1b6a /qt/ScintillaEditBase/ScintillaQt.cpp
parentca79b65eea2653ecbf62eb0f1d0caf4ff6dea601 (diff)
downloadscintilla-mirror-dbb7374c185718655dd77c294eb281e8b93c538e.tar.gz
Backport: Fix some warnings.
Backport of changeset 7921:4b676e61f983.
Diffstat (limited to 'qt/ScintillaEditBase/ScintillaQt.cpp')
-rw-r--r--qt/ScintillaEditBase/ScintillaQt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/ScintillaEditBase/ScintillaQt.cpp b/qt/ScintillaEditBase/ScintillaQt.cpp
index 87e05f12d..1ad4a84b3 100644
--- a/qt/ScintillaEditBase/ScintillaQt.cpp
+++ b/qt/ScintillaEditBase/ScintillaQt.cpp
@@ -37,7 +37,7 @@ ScintillaQt::ScintillaQt(QAbstractScrollArea *parent)
// On OS X drawing text into a pixmap moves it around 1 pixel to
// the right compared to drawing it directly onto a window.
// Buffered drawing turned off by default to avoid this.
- WndProc(SCI_SETBUFFEREDDRAW, false, 0);
+ view.bufferedDraw = false;
Init();