diff options
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 8 | 
1 files changed, 2 insertions, 6 deletions
| diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 118b84a7d..13271bcd7 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1231,12 +1231,8 @@ gint ScintillaGTK::Motion(GtkWidget *widget, GdkEventMotion *event) {  	}  	//Platform::DebugPrintf("Move %x %x %d %c %d %d\n",  	//	sciThis,event->window,event->time,event->is_hint? 'h' :'.', x, y); -	if (state & GDK_BUTTON1_MASK) { -		Point pt; -		pt.x = x; -		pt.y = y; -		sciThis->ButtonMove(pt); -	} +	Point pt(x, y); +	sciThis->ButtonMove(pt);  	return FALSE;  } | 
