From abb64652a810c65daaa0f49bb9ac12092c258d9a Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 11 Apr 2005 01:01:53 +0000 Subject: Problem fixed when performing paste over rectangular selection where selection dragged from top right to bottom left. --- gtk/ScintillaGTK.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk') diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 17da56f97..2dade05aa 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1458,10 +1458,10 @@ void ScintillaGTK::ReceivedSelection(GtkSelectionData *selection_data) { GetGtkSelectionText(selection_data, selText); pdoc->BeginUndoAction(); - int selStart = SelectionStart(); if (selection_data->selection != GDK_SELECTION_PRIMARY) { ClearSelection(); } + int selStart = SelectionStart(); if (selText.rectangular) { PasteRectangular(selStart, selText.s, selText.len); -- cgit v1.2.3