[Gtkradiant] r152 - in GtkRadiant/trunk: libs/debugging radiant

svn-noreply at zerowing.idsoftware.com svn-noreply at zerowing.idsoftware.com
Mon Mar 5 17:45:59 CST 2007


Author: lordhavoc
Date: Mon Mar  5 17:45:55 2007
New Revision: 152

Modified:
   GtkRadiant/trunk/libs/debugging/debugging.h
   GtkRadiant/trunk/radiant/brush.h
   GtkRadiant/trunk/radiant/dialog.cpp
   GtkRadiant/trunk/radiant/mainframe.cpp
Log:
changed ASSERT_MESSAGE and ERROR_MESSAGE macros to use proper
do{}while(0) encapsulation to protect them when used in an if block
without {}
previously they used else to consume the trailing ; but this
could just as easily consume any other following statement
(very dangerous in concept, but no damage done in this case)
this causes no change whatsoever in release builds


Modified: GtkRadiant/trunk/libs/debugging/debugging.h
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/trunk/libs/debugging/debugging.h?view=diff&rev=152&p1=GtkRadiant/trunk/libs/debugging/debugging.h&r1=151&p2=GtkRadiant/trunk/libs/debugging/debugging.h&r2=152
==============================================================================

Modified: GtkRadiant/trunk/radiant/brush.h
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/trunk/radiant/brush.h?view=diff&rev=152&p1=GtkRadiant/trunk/radiant/brush.h&r1=151&p2=GtkRadiant/trunk/radiant/brush.h&r2=152
==============================================================================

Modified: GtkRadiant/trunk/radiant/dialog.cpp
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/trunk/radiant/dialog.cpp?view=diff&rev=152&p1=GtkRadiant/trunk/radiant/dialog.cpp&r1=151&p2=GtkRadiant/trunk/radiant/dialog.cpp&r2=152
==============================================================================

Modified: GtkRadiant/trunk/radiant/mainframe.cpp
Url: http://zerowing.idsoftware.com/viewcvs/radiant/GtkRadiant/trunk/radiant/mainframe.cpp?view=diff&rev=152&p1=GtkRadiant/trunk/radiant/mainframe.cpp&r1=151&p2=GtkRadiant/trunk/radiant/mainframe.cpp&r2=152
==============================================================================



More information about the Gtkradiant mailing list