openbsd-ports/games/vodovod/patches/patch-sutils_cpp

13 lines
498 B
Plaintext
Raw Normal View History

$OpenBSD: patch-sutils_cpp,v 1.1.1.1 2007/07/05 16:13:27 simon Exp $
--- sutils.cpp.orig Sat Jun 9 22:36:53 2007
+++ sutils.cpp Thu Jul 5 15:17:41 2007
@@ -374,7 +374,7 @@ void InitVideo(bool fullscreen)
throw Exiter(SDL_GetError());
printf("Ok.\n");
- SDL_Surface *icon = Data->getGfx("icon", "data/abicon.bmp");
+ SDL_Surface *icon = Data->getGfx("icon", DATADIR "/data/abicon.bmp");
if (!icon)
throw Exiter(SDL_GetError());
SDL_WM_SetIcon(icon, NULL);