Skip to content

Commit 7db07c2

Browse files
committed
Do not assert when the application can't open the clipboard. It can happen if the application is not focused, but the clipboard changes in another application.
1 parent b6b9045 commit 7db07c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/WindowsAppSupport/WAS_ClipboardHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ bool ClipboardHandler::IsCompatibleVersion (const NUIE::Version& version) const
3030

3131
bool ClipboardHandler::HasClipboardContent () const
3232
{
33-
if (DBGERROR (!OpenClipboard (NULL))) {
33+
if (!OpenClipboard (NULL)) {
3434
return false;
3535
}
3636

0 commit comments

Comments
 (0)