[Scummvm-cvs-logs] SF.net SVN: scummvm:[48153] scummvm/trunk/backends/platform/n64/portdefs.h

Hkz at users.sourceforge.net Hkz at users.sourceforge.net
Sun Feb 28 14:09:11 CET 2010


Revision: 48153
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48153&view=rev
Author:   Hkz
Date:     2010-02-28 13:09:09 +0000 (Sun, 28 Feb 2010)

Log Message:
-----------
N64: change how asserts are printed

Modified Paths:
--------------
    scummvm/trunk/backends/platform/n64/portdefs.h

Modified: scummvm/trunk/backends/platform/n64/portdefs.h
===================================================================
--- scummvm/trunk/backends/platform/n64/portdefs.h	2010-02-28 08:32:45 UTC (rev 48152)
+++ scummvm/trunk/backends/platform/n64/portdefs.h	2010-02-28 13:09:09 UTC (rev 48153)
@@ -36,7 +36,7 @@
 #include <math.h>
 
 #undef assert
-#define assert(x)  ((x) ? 0 : (print_error("ASSERT TRIGGERED:\n["#x"]\n(%s:%d)", __FILE__, __LINE__)))
+#define assert(x)  ((x) ? 0 : (print_error("ASSERT TRIGGERED:\n\n("#x")\n%s\nline: %d", __FILE__, __LINE__)))
 
 #endif
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list