Changed: Use NULL instead of 0

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-04 17:04:55 +01:00
parent 7203a23706
commit 00ab100192

View file

@ -180,7 +180,7 @@ void nlFatalError (const char *format, ...)
char *str; char *str;
NLMISC_CONVERT_VARGS (str, format, 256/*NLMISC::MaxCStringSize*/); NLMISC_CONVERT_VARGS (str, format, 256/*NLMISC::MaxCStringSize*/);
INelContext::getInstance().setDebugNeedAssert( NLMISC::DefaultMsgBoxDisplayer==0 ); INelContext::getInstance().setDebugNeedAssert( NLMISC::DefaultMsgBoxDisplayer == NULL );
NLMISC::ErrorLog->displayNL (str); NLMISC::ErrorLog->displayNL (str);
@ -199,7 +199,7 @@ void nlError (const char *format, ...)
char *str; char *str;
NLMISC_CONVERT_VARGS (str, format, 256/*NLMISC::MaxCStringSize*/); NLMISC_CONVERT_VARGS (str, format, 256/*NLMISC::MaxCStringSize*/);
INelContext::getInstance().setDebugNeedAssert( NLMISC::DefaultMsgBoxDisplayer==0 ); INelContext::getInstance().setDebugNeedAssert( NLMISC::DefaultMsgBoxDisplayer == NULL );
NLMISC::ErrorLog->displayNL (str); NLMISC::ErrorLog->displayNL (str);