Author: hbelusca
Date: Fri Jul 19 12:54:34 2013
New Revision: 59508
URL:
http://svn.reactos.org/svn/reactos?rev=59508&view=rev
Log:
Fix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and not the
other way around, see
http://msdn.microsoft.com/en-us/library/windows/hardware/ff542113(v=vs.85).… ,
http://www.osronline.com/DDKx/ddtools/debugfns_41yr.htm and google...) (Part 1/X)
Modified:
trunk/rosapps/templates/dialog/trace.h
Modified: trunk/rosapps/templates/dialog/trace.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/templates/dialog/trace.h?r…
==============================================================================
--- trunk/rosapps/templates/dialog/trace.h [iso-8859-1] (original)
+++ trunk/rosapps/templates/dialog/trace.h [iso-8859-1] Fri Jul 19 12:54:34 2013
@@ -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