VirtualBox

Changeset 52935 in vbox for trunk/include


Ignore:
Timestamp:
Oct 2, 2014 1:53:49 PM (10 years ago)
Author:
vboxsync
Message:

VBox/DragAndDrop: fixed condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/DragAndDropSvc.h

    r51557 r52935  
    4343#define DND_LINK_ACTION       RT_BIT_32(2)
    4444
    45 #define hasDnDCopyAction(a)   ((a) && DND_COPY_ACTION)
    46 #define hasDnDMoveAction(a)   ((a) && DND_MOVE_ACTION)
    47 #define hasDnDLinkAction(a)   ((a) && DND_LINK_ACTION)
     45#define hasDnDCopyAction(a)   ((a) & DND_COPY_ACTION)
     46#define hasDnDMoveAction(a)   ((a) & DND_MOVE_ACTION)
     47#define hasDnDLinkAction(a)   ((a) & DND_LINK_ACTION)
    4848
    4949#define isDnDIgnoreAction(a)  ((a) == DND_IGNORE_ACTION)
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