Make this easier to read. A crash reason of "7" throws me off.

This commit is contained in:
Steve Checkoway
2006-08-16 13:28:48 +00:00
parent 22b1817586
commit 99341d71b4
+1 -1
View File
@@ -106,7 +106,7 @@ void NORETURN sm_crash( const char *reason = "Internal error" );
#endif
/* Use this to catch switching on invalid values */
#define DEFAULT_FAIL(i) default: FAIL_M( ssprintf("%i", i) )
#define DEFAULT_FAIL(i) default: FAIL_M( ssprintf("%s = %i", #i, (i)) )
void ShowWarning( const char *file, int line, const char *message ); // don't pull in LOG here
#define WARN(MESSAGE) (ShowWarning(__FILE__, __LINE__, MESSAGE))