aboutsummaryrefslogtreecommitdiff
path: root/games/race
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-21 16:48:56 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-21 16:48:56 +0000
commit3bb20e0eacf4524d11e5deb9bb94c6d1c119fd5b (patch)
tree4e1b07f01bb09d68ae74c5a034dba4c88067ce63 /games/race
parent448940b6b67ed7248b48fe1849bfa7b70aa3bd14 (diff)
downloadports-3bb20e0eacf4524d11e5deb9bb94c6d1c119fd5b.tar.gz
ports-3bb20e0eacf4524d11e5deb9bb94c6d1c119fd5b.zip
Notes
Diffstat (limited to 'games/race')
-rw-r--r--games/race/files/patch-textures.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/games/race/files/patch-textures.c b/games/race/files/patch-textures.c
index ca0c14805567..3f30c7ec3318 100644
--- a/games/race/files/patch-textures.c
+++ b/games/race/files/patch-textures.c
@@ -1,8 +1,11 @@
---- src/textures.c.orig Tue Jul 16 23:50:37 2002
-+++ src/textures.c Tue Jul 16 23:50:46 2002
-@@ -35,7 +35,7 @@
+--- src/textures.c.orig Fri Mar 8 01:44:46 2002
++++ src/textures.c Sun Jul 21 21:14:50 2002
+@@ -33,9 +33,9 @@
+
+ int loadtexture(char *dir, char *file, int filter, int repeat, int id){
SDL_Surface *image;
- char location[6+strlen(dir)+strlen(file)];
+- char location[6+strlen(dir)+strlen(file)];
++ char location[60+strlen(dir)+strlen(file)];
- sprintf(location,"data/%s/%s",dir,file);
+ sprintf(location,"%%DATADIR%%/data/%s/%s",dir,file);