openbsd-ports/games/gtkballs/patches/patch-scoreboard_c
2001-08-11 16:47:19 +00:00

22 lines
715 B
Plaintext

$OpenBSD: patch-scoreboard_c,v 1.1 2001/08/11 16:47:19 pvalchev Exp $
--- scoreboard.c.orig Sun Nov 15 02:43:15 1998
+++ scoreboard.c Sat Aug 11 10:33:05 2001
@@ -28,7 +28,7 @@ write_score (struct score_board *b)
FILE *score_file;
int i;
- score_file = fopen (PREFIX "/share/gtkballs/score", "w");
+ score_file = fopen ("/var/games/gtkballs.score", "w");
if (!score_file)
/* unable to save score */
return FALSE;
@@ -50,7 +50,7 @@ read_score (struct score_board *b)
FILE *score_file;
int i, j;
- score_file = fopen (PREFIX "/share/gtkballs/score", "r");
+ score_file = fopen ("/var/games/gtkballs.score", "r");
if (!score_file)
/* unable to load score */
return FALSE;