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
+2 -2
View File
@@ -399,14 +399,14 @@ static RageSurface *ReadImage( RageFile &f, int len, int height,
if( !state.Init(f) )
{
// RWSetMsg("error reading image");
return NULL;
return nullptr;
}
/* If this is an "uninteresting picture" ignore it. */
if( ignore )
{
while( state.ReadByte(f) >= 0 )
;
return NULL;
return nullptr;
}
RageSurface *image = CreateSurface( len, height, 8, 0, 0, 0, 0 );