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

Fix WinApi call misuse

This commit is contained in:
Bartek Bok
2012-03-05 15:07:42 +01:00
parent 120dae6c2b
commit f158f97776

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
}