freebsd-ports/games/stonesoup/files/patch-tilesdl.cc
Martin Wilke 5208ddb588 - Update to 0.5.2 (20091009)
PR:		139648
Submitted by:	Tobias Rehbein <tobias.rehbein@web.de> (maintainer)
2009-10-17 11:53:59 +00:00

12 lines
428 B
C++

--- ./tilesdl.cc.orig 2009-10-15 18:41:56.000000000 +0200
+++ ./tilesdl.cc 2009-10-15 18:42:16.000000000 +0200
@@ -249,7 +249,7 @@
"dat/tiles/stone_soup_icon-32x32.png";
#endif
- SDL_Surface *icon = IMG_Load(datafile_path(icon_name).c_str());
+ SDL_Surface *icon = IMG_Load(datafile_path(icon_name, true, true).c_str());
if (!icon)
{
printf("Failed to load icon: %s\n", SDL_GetError());