Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed Jan 8, 2025
1 parent 646fcc2 commit ff8039a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/winsharedutils/clipboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,7 @@ DECLARE_API HWND clipboard_callback(void (*callback)(const wchar_t *, bool))
auto data = clipboard_get_internal();
if(data)
callback(data.value().c_str(), iscurrentowndclipboard());
}
throw; })
} })
.detach();
return (HWND) new std::pair<HANDLE, HHOOK>{clipboardUpdate, __};
#endif
Expand Down

0 comments on commit ff8039a

Please sign in to comment.