diff options
author | nyamatongwe <unknown> | 2004-03-07 09:24:56 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2004-03-07 09:24:56 +0000 |
commit | cef0c057bf7838b5ffb98594a6532bf968348301 (patch) | |
tree | 67f343bd6b7efbebb5dfe30e8e32ca77ea702cba | |
parent | 7e0137eccceb4c3df97dce3fd9a6bcd2c1f14b83 (diff) | |
download | scintilla-mirror-cef0c057bf7838b5ffb98594a6532bf968348301.tar.gz |
Fixed primary selection copy to self.
-rw-r--r-- | gtk/ScintillaGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |