Skip to content
Snippets Groups Projects
Commit 2e8ea74b authored by edgrif's avatar edgrif
Browse files

fix stupid bug in my modifier test macro.

parent e7150920
No related branches found
No related tags found
No related merge requests found
......@@ -25,9 +25,9 @@
* Description: Set of general GUI functions.
*
* HISTORY:
* Last edited: Dec 21 15:58 2006 (edgrif)
* Last edited: Mar 14 08:34 2007 (edgrif)
* Created: Fri Nov 4 16:59:52 2005 (edgrif)
* CVS info: $Id: zmapUtilsGUI.h,v 1.18 2006-12-21 16:18:46 edgrif Exp $
* CVS info: $Id: zmapUtilsGUI.h,v 1.19 2007-03-14 08:40:41 edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_UTILS_GUI_H
......@@ -142,7 +142,7 @@ typedef struct
(((EVENT)->state & (MODS)) == (MODS))
#define zMapGUITestModifiersOnly(EVENT, MODS) \
(((EVENT)->state | (MODS)) == (MODS))
(((EVENT)->state | (MODS)) == ((EVENT)->state & (MODS)))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment