aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-08-15 12:59:39 +1000
committerNeil <nyamatongwe@gmail.com>2013-08-15 12:59:39 +1000
commita499680e07e1eeb55d23bbf1f61dde535d5beb78 (patch)
tree3eb5f8843d2b2d8ce8b786b3a53598035d053382
parentc2531108a09be7502429ff8ea2bc18772790da63 (diff)
downloadscintilla-mirror-a499680e07e1eeb55d23bbf1f61dde535d5beb78.tar.gz
Use system symbol for constant.
-rw-r--r--gtk/ScintillaGTK.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 8c2d0570b..db9e1ea19 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -1845,7 +1845,7 @@ gint ScintillaGTK::MouseRelease(GtkWidget *widget, GdkEventButton *event) {
// If mouse released on scroll bar then the position is relative to the
// scrollbar, not the drawing window so just repeat the most recent point.
pt = sciThis->ptMouseLast;
- sciThis->ButtonUp(pt, event->time, (event->state & 4) != 0);
+ sciThis->ButtonUp(pt, event->time, (event->state & GDK_CONTROL_MASK) != 0);
}
} catch (...) {
sciThis->errorStatus = SC_STATUS_FAILURE;