mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
Changed: Use NULL instead of 0
This commit is contained in:
parent
038fbf0ea8
commit
63c925371d
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