Fix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 19 Jul 2013 12:54:34 +0000 (12:54 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 19 Jul 2013 12:54:34 +0000 (12:54 +0000)
svn path=/trunk/; revision=59508

rosapps/templates/dialog/trace.h

index 7f3318e..6c9ed7d 100644 (file)
@@ -21,7 +21,7 @@
     }                                               \
 }                                                   \
 
-#define ASSERTMSG(exp, msg)                         \
+#define ASSERTMSG(msg, exp)                         \
 {                                                   \
     if (!(exp)) {                                   \
         Assert(#exp, __FILE__, __LINE__, msg);      \
@@ -45,7 +45,7 @@
 
 #ifndef ASSERT
 #define ASSERT(exp)
-#define ASSERTMSG(exp, msg)
+#define ASSERTMSG(msg, exp)
 #endif
 
 #define TRACE 0 ? (void)0 : Trace