The big NULL replacement party part 3.

Getting there I think.
This commit is contained in:
Jason Felds
2013-05-03 23:16:39 -04:00
parent ba59dd1656
commit a3f37dc2b4
73 changed files with 1880 additions and 1880 deletions
+4 -4
View File
@@ -26,7 +26,7 @@ static RageSurface *TryOpenFile( RString sPath, bool bHeaderOnly, RString &error
{
error = "Unsupported format";
bKeepTrying = true;
return NULL;
return nullptr;
}
if( result == RageSurfaceUtils::OPEN_OK )
@@ -70,7 +70,7 @@ static RageSurface *TryOpenFile( RString sPath, bool bHeaderOnly, RString &error
default: break;
}
return NULL;
return nullptr;
}
RageSurface *RageSurfaceUtils::LoadFile( const RString &sPath, RString &error, bool bHeaderOnly )
@@ -80,7 +80,7 @@ RageSurface *RageSurfaceUtils::LoadFile( const RString &sPath, RString &error, b
if( !TestOpen.Open( sPath ) )
{
error = TestOpen.GetError();
return NULL;
return nullptr;
}
}
@@ -115,7 +115,7 @@ RageSurface *RageSurfaceUtils::LoadFile( const RString &sPath, RString &error, b
}
}
return NULL;
return nullptr;
}
/*