diff options
| author | Simon <simon@hardwired.org.uk> | 2011-04-04 16:22:17 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2011-04-04 16:22:17 (GMT) |
| commit | 078db03a52847e67debebea022b0301c10d0655b (patch) | |
| tree | baa94ad2b6176cc5734cae1782a17bfeb41cfb2e /src | |
| parent | 5c079443f9d60f1efacdd7003b07462b72d830a3 (diff) | |
| download | powder-078db03a52847e67debebea022b0301c10d0655b.zip powder-078db03a52847e67debebea022b0301c10d0655b.tar.gz | |
NULL Window handle for OpenClipboard
Diffstat (limited to 'src')
| -rw-r--r-- | src/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
