Changed: Use NULL instead of 0
--HG-- branch : develop
This commit is contained in:
parent
7203a23706
commit
00ab100192
1 changed files with 2 additions and 2 deletions
|
@ -180,7 +180,7 @@ void nlFatalError (const char *format, ...)
|
|||
char *str;
|
||||
NLMISC_CONVERT_VARGS (str, format, 256/*NLMISC::MaxCStringSize*/);
|
||||
|
||||
INelContext::getInstance().setDebugNeedAssert( NLMISC::DefaultMsgBoxDisplayer==0 );
|
||||
INelContext::getInstance().setDebugNeedAssert( NLMISC::DefaultMsgBoxDisplayer == NULL );
|
||||
|
||||
NLMISC::ErrorLog->displayNL (str);
|
||||
|
||||
|
@ -199,7 +199,7 @@ void nlError (const char *format, ...)
|
|||
char *str;
|
||||
NLMISC_CONVERT_VARGS (str, format, 256/*NLMISC::MaxCStringSize*/);
|
||||
|
||||
INelContext::getInstance().setDebugNeedAssert( NLMISC::DefaultMsgBoxDisplayer==0 );
|
||||
INelContext::getInstance().setDebugNeedAssert( NLMISC::DefaultMsgBoxDisplayer == NULL );
|
||||
|
||||
NLMISC::ErrorLog->displayNL (str);
|
||||
|
||||
|
|
Loading…
Reference in a new issue