Skip to content

Commit

Permalink
Fixx macos compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
mniip committed May 8, 2018
1 parent 51adf37 commit 954086f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PowderToySDL.cpp
Expand Up @@ -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))
{
Expand Down

0 comments on commit 954086f

Please sign in to comment.