Skip to content

Commit

Permalink
FIX: Windows compilation failure when using Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Sep 6, 2024
1 parent 5fc91ac commit d0ce370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/win32/dev-clipboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

EmptyClipboard();

ok = SetClipboardData(GET_FLAG(req->flags, RRF_WIDE) ? CF_UNICODETEXT : CF_TEXT, data);
ok = (NULL != SetClipboardData(GET_FLAG(req->flags, RRF_WIDE) ? CF_UNICODETEXT : CF_TEXT, data));

GlobalUnlock(data);
CloseClipboard();
Expand Down

0 comments on commit d0ce370

Please sign in to comment.