diff options
Diffstat (limited to 'src/interface/Label.cpp')
| -rw-r--r-- | src/interface/Label.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interface/Label.cpp b/src/interface/Label.cpp index 5cd089c..24b8035 100644 --- a/src/interface/Label.cpp +++ b/src/interface/Label.cpp @@ -211,11 +211,11 @@ void Label::copySelection() std::string currentText = text; if(selectionIndex1 > selectionIndex0) { - clipboard_push_text((char*)currentText.substr(selectionIndex0, selectionIndex1-selectionIndex0).c_str()); + ClipboardPush((char*)currentText.substr(selectionIndex0, selectionIndex1-selectionIndex0).c_str()); } else if(selectionIndex0 > selectionIndex1) { - clipboard_push_text((char*)currentText.substr(selectionIndex1, selectionIndex0-selectionIndex1).c_str()); + ClipboardPush((char*)currentText.substr(selectionIndex1, selectionIndex0-selectionIndex1).c_str()); } else { - clipboard_push_text((char*)currentText.c_str()); + ClipboardPush((char*)currentText.c_str()); } } |
