aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gtk/ScintillaGTK.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 11b466fef..5677da922 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -2498,7 +2498,7 @@ gboolean ScintillaGTK::DragMotionThis(GdkDragContext *context,
SetDragPosition(PositionFromLocation(npt));
GdkDragAction preferredAction = context->suggested_action;
int pos = PositionFromLocation(npt);
- if ((inDragDrop == ddDragging) && (0 == PositionInSelection(pos))) {
+ if ((inDragDrop == ddDragging) && (PositionInSelection(pos))) {
// Avoid dragging selection onto itself as that produces a move
// with no real effect but which creates undo actions.
preferredAction = static_cast<GdkDragAction>(0);