[commit] r2024 - trunk/GME/ConstraintManager

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Thu Aug 16 11:30:34 CDT 2012


Author: ksmyth
Date: Thu Aug 16 11:30:34 2012
New Revision: 2024

Log:
Fix wrong operator in ASSERT

Modified:
   trunk/GME/ConstraintManager/ConstraintMgr.cpp

Modified: trunk/GME/ConstraintManager/ConstraintMgr.cpp
==============================================================================
--- trunk/GME/ConstraintManager/ConstraintMgr.cpp	Thu Aug 16 11:30:25 2012	(r2023)
+++ trunk/GME/ConstraintManager/ConstraintMgr.cpp	Thu Aug 16 11:30:34 2012	(r2024)
@@ -171,8 +171,8 @@
 	if ( ! m_Facade.m_bEnabled || ! m_Facade.m_bEnabledInteractions || ! m_Facade.m_bEnabledEvents ) {
 		return S_OK;
 	}
-	ASSERT(!(eventmask | OBJEVENT_MOUSEOVER)); // shouldn't receive these events because of put_EventMask
-	ASSERT(!(eventmask | OBJEVENT_PRE_DESTROYED));
+	ASSERT(!(eventmask & OBJEVENT_MOUSEOVER)); // shouldn't receive these events because of put_EventMask
+	ASSERT(!(eventmask & OBJEVENT_PRE_DESTROYED));
 
 	COMTRY {
 		return m_Facade.Evaluate( obj, eventmask);


More information about the gme-commit mailing list