Fixx macos compilation
This commit is contained in:
parent
51adf37853
commit
954086fb86
@ -114,7 +114,7 @@ ByteString ClipboardPull()
|
||||
{
|
||||
#ifdef MACOSX
|
||||
const char *text = readClipboard();
|
||||
return text ? ByteString(text).FromUtf8() : "";
|
||||
return text ? ByteString(text) : "";
|
||||
#elif defined(WIN)
|
||||
if (OpenClipboard(NULL))
|
||||
{
|
||||
|
Reference in New Issue
Block a user