summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2011-04-04 16:22:17 (GMT)
committer Simon <simon@hardwired.org.uk>2011-04-04 16:22:17 (GMT)
commit078db03a52847e67debebea022b0301c10d0655b (patch)
treebaa94ad2b6176cc5734cae1782a17bfeb41cfb2e /src/misc.c
parent5c079443f9d60f1efacdd7003b07462b72d830a3 (diff)
downloadpowder-078db03a52847e67debebea022b0301c10d0655b.zip
powder-078db03a52847e67debebea022b0301c10d0655b.tar.gz
NULL Window handle for OpenClipboard
Diffstat (limited to 'src/misc.c')
-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;