The big NULL replacement party part 2.

This may take a bit. Trying to do this by operator/command.
This commit is contained in:
Jason Felds
2013-05-03 23:11:42 -04:00
parent 9f24627bf9
commit ba59dd1656
174 changed files with 6644 additions and 6644 deletions
+3 -3
View File
@@ -332,7 +332,7 @@ void ScreenTextEntry::TextEntrySettings::FromStack( lua_State *L )
// Get ScreenMessage
lua_getfield( L, iTab, "SendOnPop" );
const char *pStr = lua_tostring( L, -1 );
if( pStr == NULL )
if( pStr == nullptr )
smSendOnPop = SM_None;
else
smSendOnPop = ScreenMessageHelpers::ToScreenMessage( pStr );
@@ -341,7 +341,7 @@ void ScreenTextEntry::TextEntrySettings::FromStack( lua_State *L )
// Get Question
lua_getfield( L, iTab, "Question" );
pStr = lua_tostring( L, -1 );
if( pStr == NULL )
if( pStr == nullptr )
RageException::Throw( "\"Question\" entry is not a string." );
sQuestion = pStr;
lua_settop( L, iTab );
@@ -349,7 +349,7 @@ void ScreenTextEntry::TextEntrySettings::FromStack( lua_State *L )
// Get Initial Answer
lua_getfield( L, iTab, "InitialAnswer" );
pStr = lua_tostring( L, -1 );
if( pStr == NULL )
if( pStr == nullptr )
pStr = "";
sInitialAnswer = pStr;
lua_settop( L, iTab );