summaryrefslogtreecommitdiff
path: root/src/interface/Label.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-01-18 19:37:24 (GMT)
committer jacob1 <jfu614@gmail.com>2013-01-18 19:37:24 (GMT)
commitded94b475d643f3e144f677ae6c01bbe5f9a73ce (patch)
treecaf8d058086bb846abaa3f1fdcfd37bd2a97ea83 /src/interface/Label.cpp
parentb3a2ab735b76185715d7efd848659ef87ca70405 (diff)
downloadpowder-ded94b475d643f3e144f677ae6c01bbe5f9a73ce.zip
powder-ded94b475d643f3e144f677ae6c01bbe5f9a73ce.tar.gz
move clipboard functions out of misc.cpp without creating errors
Diffstat (limited to 'src/interface/Label.cpp')
-rw-r--r--src/interface/Label.cpp6
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());
}
}