Fix #422
This commit is contained in:
parent
82caf06783
commit
0c59d79a0b
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user