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
+2 -2
View File
@@ -41,11 +41,11 @@ bool GotoURL( RString sUrl )
return false;
char *szPos = strstr( key, "\"%1\"" );
if( szPos == NULL )
if( szPos == nullptr )
{
// No quotes found. Check for %1 without quotes
szPos = strstr( key, "%1" );
if( szPos == NULL )
if( szPos == nullptr )
szPos = key+lstrlen(key)-1; // No parameter.
else
*szPos = '\0'; // Remove the parameter