projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b38374
)
Adding another null check to prevent another crash
author
Tobias Markus
<tobbi@mozilla-uk.org>
Thu, 30 Jan 2014 17:23:28 +0000
(18:23 +0100)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Thu, 30 Jan 2014 17:23:28 +0000
(18:23 +0100)
src/video/video_systems.cpp
patch
|
blob
|
history
diff --git
a/src/video/video_systems.cpp
b/src/video/video_systems.cpp
index
f991ee4
..
d281023
100644
(file)
--- a/
src/video/video_systems.cpp
+++ b/
src/video/video_systems.cpp
@@
-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;