From cef0c057bf7838b5ffb98594a6532bf968348301 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 7 Mar 2004 09:24:56 +0000 Subject: Fixed primary selection copy to self. --- gtk/ScintillaGTK.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index f29c8b627..3344a8684 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1326,7 +1326,7 @@ void ScintillaGTK::ReceivedSelection(GtkSelectionData *selection_data) { if ((atomSought == atomUTF8) && (selection_data->length <= 0)) { atomSought = atomString; gtk_selection_convert(GTK_WIDGET(PWidget(wMain)), - atomClipboard, atomSought, GDK_CURRENT_TIME); + selection_data->selection, atomSought, GDK_CURRENT_TIME); } else if ((selection_data->length > 0) && ((selection_data->type == GDK_TARGET_STRING) || (selection_data->type == atomUTF8))) { SelectionText selText; -- cgit v1.2.3