mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
22 lines
472 B
Plaintext
22 lines
472 B
Plaintext
$NetBSD: patch-ad,v 1.3 2011/03/16 08:47:37 obache Exp $
|
||
|
||
--- c_scores.c.orig 1992-08-02 13:10:12.000000000 +0000
|
||
+++ c_scores.c
|
||
@@ -41,7 +41,6 @@
|
||
* else print to X screen.
|
||
*/
|
||
|
||
-extern int errno;
|
||
int x, y, ydelta;
|
||
|
||
|
||
@@ -124,7 +123,7 @@ int scores(score)
|
||
y = 100;
|
||
ydelta = 15;
|
||
|
||
- sprintf(buf,"%s/%s",TANKDIR,SCOREFILE);
|
||
+ sprintf(buf,"@VARBASE@/games/%s",SCOREFILE);
|
||
sfile = fopen(buf,"r"); /* just check if it is there */
|
||
|
||
if (sfile == NULL) {
|