aboutsummaryrefslogtreecommitdiff
path: root/games/xshisen/files/patch-readxpm.C
diff options
context:
space:
mode:
Diffstat (limited to 'games/xshisen/files/patch-readxpm.C')
-rw-r--r--games/xshisen/files/patch-readxpm.C14
1 files changed, 0 insertions, 14 deletions
diff --git a/games/xshisen/files/patch-readxpm.C b/games/xshisen/files/patch-readxpm.C
deleted file mode 100644
index d1ac1540fe1b..000000000000
--- a/games/xshisen/files/patch-readxpm.C
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- readxpm.C.orig Sun Jul 7 01:34:47 2002
-+++ readxpm.C Thu Sep 15 13:56:38 2005
-@@ -12,7 +12,7 @@
- char buffer[1024];
-
- for(int i=0; i<PKIND; i++) {
-- sprintf(buffer, "%s/%s/%s.xpm", directory, subdir, files[i]);
-+ snprintf(buffer, sizeof(buffer), "%s/%s/%s.xpm", directory, subdir, files[i]);
- Mp[i].ReadFile(w, buffer, i, globRes.colorCloseness);
- }
- }