The big NULL replacement party part 5.

Right. ' = NULL' would get a lot of these.
This commit is contained in:
Jason Felds
2013-05-03 23:39:52 -04:00
parent 328c41eec0
commit 28e5148dec
233 changed files with 7448 additions and 7447 deletions
+3 -3
View File
@@ -43,7 +43,7 @@ RageSurfaceFormat::RageSurfaceFormat():
Rmask(Mask[0]), Gmask(Mask[1]), Bmask(Mask[2]), Amask(Mask[3]),
Rshift(Shift[0]), Gshift(Shift[1]), Bshift(Shift[2]), Ashift(Shift[3])
{
palette = NULL;
palette = nullptr;
}
RageSurfaceFormat::RageSurfaceFormat( const RageSurfaceFormat &cpy ):
@@ -121,7 +121,7 @@ bool RageSurfaceFormat::Equivalent( const RageSurfaceFormat &rhs ) const
RageSurface::RageSurface()
{
format = &fmt;
pixels = NULL;
pixels = nullptr;
pixels_owned = true;
}
@@ -140,7 +140,7 @@ RageSurface::RageSurface( const RageSurface &cpy )
memcpy( pixels, cpy.pixels, pitch*h );
}
else
pixels = NULL;
pixels = nullptr;
}
RageSurface::~RageSurface()