2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

Merge pull request #174 from boq/master

Proper SetClipboardData usage
This commit is contained in:
2012-03-09 19:29:39 -08:00

View File

@ -107,8 +107,7 @@ void plClipboard::SetClipboardText(const plString& text)
target[len] = '\0';
::GlobalUnlock(copy);
// Place the handle on the clipboard.
::SetClipboardData(CF_UNICODETEXT, target);
::SetClipboardData(CF_UNICODETEXT, copy);
::CloseClipboard();
#endif
}