]> git.rm.cloudns.org Git - xonotic/netradiant.git/commit
changed ASSERT_MESSAGE and ERROR_MESSAGE macros to use proper
authorlordhavoc <lordhavoc@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Mon, 5 Mar 2007 23:45:55 +0000 (23:45 +0000)
committerlordhavoc <lordhavoc@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Mon, 5 Mar 2007 23:45:55 +0000 (23:45 +0000)
commit6f69a8d67e2fe16117864941dc7b57d2ab6e53f9
treea2894f03dd70b71eaf6a2b284c8008065e89c7f3
parentaba9d2e8a457226d09d1022ea410bd3c4ed82bea
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

git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@152 8a3a26a2-13c4-0310-b231-cf6edde360e5
libs/debugging/debugging.h
radiant/brush.h
radiant/dialog.cpp
radiant/mainframe.cpp