blob: e164c714e38810fad9b18f3c3c23c12a4991f6a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-af,v 1.2 1998/11/12 23:34:32 frueauf Exp $
--- score.c.orig Sun Aug 9 03:56:41 1998
+++ score.c Sun Aug 9 03:57:23 1998
@@ -72,3 +72,3 @@
static FILE *scorefile = 0;
-char *score_filename;
+extern AppData app_data;
@@ -102,4 +102,4 @@
- if( !(scorefile = fopen(score_filename,"r+")) ) {
- scorefile = fopen(score_filename, "w");
+ if( !(scorefile = fopen(app_data.score_filename,"r+")) ) {
+ scorefile = fopen(app_data.score_filename, "w");
return;
|