aboutsummaryrefslogtreecommitdiff
path: root/games/flyhard/files/patch-src_loadimag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/flyhard/files/patch-src_loadimag.cpp')
-rw-r--r--games/flyhard/files/patch-src_loadimag.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/flyhard/files/patch-src_loadimag.cpp b/games/flyhard/files/patch-src_loadimag.cpp
new file mode 100644
index 000000000000..7806f4292bb6
--- /dev/null
+++ b/games/flyhard/files/patch-src_loadimag.cpp
@@ -0,0 +1,11 @@
+--- src/loadimag.cpp.orig 2009-02-15 14:06:42 UTC
++++ src/loadimag.cpp
+@@ -65,7 +65,7 @@ SDL_Surface *load_image(const std::strin
+ DBG_WHINE("Unknown image extension: "+extension);
+ }
+
+- return false;
++ return NULL;
+ }
+
+ //should this be extern "C"?