mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 12:16:23 +01:00
Fix issue #134
This commit is contained in:
@@ -946,7 +946,7 @@ std::string WIN32Window::getClipboardText()
|
||||
if(hglb) {
|
||||
LPTSTR lptstr = (LPTSTR)GlobalLock(hglb);
|
||||
if(lptstr) {
|
||||
text = stdext::utf8_to_latin1((uchar*)lptstr);
|
||||
text = stdext::utf8_to_latin1(lptstr);
|
||||
GlobalUnlock(hglb);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user