summaryrefslogtreecommitdiff
path: root/games/xbill/patches/patch-ab
blob: c456422bda95f51893f4cc058da73367c1c7cdc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.3 2005/06/14 17:23:24 minskim Exp $

--- Scorelist.cc.orig	1997-01-23 10:22:50.000000000 -0600
+++ Scorelist.cc
@@ -1,9 +1,9 @@
 #include "objects.h"
 
 FILE *Scorelist::open_file(char *mode) {
-	char file[255];
-	sprintf (file, "%sscores", XBILL_HOME);
-	return fopen (file, mode);
+/*	char file[255];
+	sprintf (file, "%sscores", XBILL_HOME);*/
+	return fopen (VARBASE "/games/xbill.scores", mode);
 }
 
 void Scorelist::read() {