Changeset 6417 for code/trunk/src/libraries/util/Clipboard.cc
- Timestamp:
- Dec 25, 2009, 10:23:58 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/util/Clipboard.cc
r5958 r6417 78 78 { 79 79 COUT(1) << "Error: Unable to copy the following text to the clipboard:" << std::endl; 80 COUT(1) << " \"" << text << "\""<< std::endl;80 COUT(1) << " \"" << text << '"' << std::endl; 81 81 } 82 82 return false; … … 96 96 if (hData == NULL) 97 97 return ""; 98 std::string output = static_cast<char*>(GlobalLock(hData));98 std::string output(static_cast<char*>(GlobalLock(hData))); 99 99 GlobalUnlock(hData); 100 100 CloseClipboard(); … … 119 119 namespace orxonox 120 120 { 121 static std::string clipboard = ""; //!< Keeps the text of our internal clipboard121 static std::string clipboard; //!< Keeps the text of our internal clipboard 122 122 123 123 /**
Note: See TracChangeset
for help on using the changeset viewer.