Skip to content

Commit

Permalink
Adding another null check to prevent another crash
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Jan 30, 2014
1 parent 5b38374 commit 8e298f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/video_systems.cpp
Expand Up @@ -153,7 +153,7 @@ VideoSystem::new_surface_data(const Surface &surface)
void
VideoSystem::free_surface_data(SurfaceData* surface_data)
{
if(surface_data == null)
if(surface_data == NULL)
return;

delete surface_data;
Expand Down

0 comments on commit 8e298f9

Please sign in to comment.