summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Text_Display.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx
index e19367f9a..f1f47de14 100644
--- a/src/Fl_Text_Display.cxx
+++ b/src/Fl_Text_Display.cxx
@@ -3677,7 +3677,7 @@ int Fl_Text_Display::handle(int event) {
else
dragPos = buffer()->primary_selection()->end();
dragType = DRAG_CHAR;
- }
+ }
const char* copy = buffer()->selection_text();
if (*copy) Fl::copy(copy, strlen(copy), 0);