X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Fglobals.h;h=bac62aef606ff8b72f147d0ac1b7351290c235d5;hb=12fe56ffc347b9a7b2a5ec140ec874038cde8c3b;hp=55c3b40ff14fbe47de06a59c593cd160d4003db2;hpb=0ff0ad82c62217a437787b0a54e47415bfb5740f;p=evaf
diff --git a/src/libs/Common/globals.h b/src/libs/Common/globals.h
index 55c3b40..bac62ae 100644
--- a/src/libs/Common/globals.h
+++ b/src/libs/Common/globals.h
@@ -96,15 +96,15 @@ namespace Internal {
*/
#define EVAF_TEST(cond) \
if (!cond) \
- EVAF_FATAL(#cond);
+ EVAF_FATAL_ERROR(#cond);
/**
* Tests that the condition is true with a custom error message.
*
* This macro tests for the condition and if not true, exist with a custom fatal error message.
*/
-#define EVAF_TEST_X(const, msg) \
+#define EVAF_TEST_X(cond, msg) \
if (!cond) \
- EVAF_FATAL(msg);
+ EVAF_FATAL_ERROR(msg);
#endif // globals.h