VirtualBox

Changeset 78393 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 6, 2019 3:02:08 PM (6 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Fixed VBoxClipboardWinClose() / VBoxClipboardWinClear().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp

    r78307 r78393  
    8686
    8787    const BOOL fRc = CloseClipboard();
    88     if (RT_UNLIKELY(fRc))
     88    if (RT_UNLIKELY(!fRc))
    8989    {
    9090        const DWORD dwLastErr = GetLastError();
     
    108108
    109109    const BOOL fRc = EmptyClipboard();
    110     if (RT_UNLIKELY(fRc))
     110    if (RT_UNLIKELY(!fRc))
    111111    {
    112112        const DWORD dwLastErr = GetLastError();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette