mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-12 19:34:01 +02:00
Fixx macos compilation
This commit is contained in:
@@ -114,7 +114,7 @@ ByteString ClipboardPull()
|
|||||||
{
|
{
|
||||||
#ifdef MACOSX
|
#ifdef MACOSX
|
||||||
const char *text = readClipboard();
|
const char *text = readClipboard();
|
||||||
return text ? ByteString(text).FromUtf8() : "";
|
return text ? ByteString(text) : "";
|
||||||
#elif defined(WIN)
|
#elif defined(WIN)
|
||||||
if (OpenClipboard(NULL))
|
if (OpenClipboard(NULL))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user