From 078db03a52847e67debebea022b0301c10d0655b Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 4 Apr 2011 17:22:17 +0100 Subject: NULL Window handle for OpenClipboard 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; -- cgit v0.9.2-21-gd62e