This commit is contained in:
Federico Terzi 2020-09-03 21:37:15 +02:00
parent 82caf06783
commit 0c59d79a0b

View File

@ -808,7 +808,7 @@ int32_t set_clipboard(wchar_t *text) {
} }
int32_t get_clipboard(wchar_t *buffer, int32_t size) { int32_t get_clipboard(wchar_t *buffer, int32_t size) {
int32_t result = 0; int32_t result = 1;
if (!OpenClipboard(NULL)) { if (!OpenClipboard(NULL)) {
return -1; return -1;
} }