summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 13055ef..ccd6563 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -387,7 +387,7 @@ void clipboard_push_text(char * text)
CFDataRef data = CFDataCreate(kCFAllocatorDefault, text, strlen(text));
PasteboardPutItemFlavor(newclipboard, (PasteboardItemID)1, CFSTR("com.apple.traditional-mac-plain-text"), data, 0);
#elif defined WIN32
- if(OpenClipboard())
+ if(OpenClipboard(NULL))
{
HGLOBAL cbuffer;
char * glbuffer;