fixed WITH_DYNAMIC_ARG: scoping of RIIA object

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@39 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-19 20:24:39 +00:00
parent 6c5acc5b6a
commit 440cec2f8c
+1 -1
View File
@@ -62,7 +62,7 @@
* @endcode
*/
#define WITH_DYNAMIC_ARG(name, value) \
if (name##_changer(value))
if (name##_changer name##_dummmy = value) // hack: variable in if guard scopes over the following block
// ----------------------------------------------------------------------------- : EOF
#endif