2013-09-26 17:14:40 +02:00

23 lines
731 B
Plaintext

$NetBSD: patch-ab,v 1.1 2008/06/14 02:58:24 obache Exp $
--- src/main.c.orig 2007-08-14 18:59:42.000000000 +0000
+++ src/main.c
@@ -296,7 +296,7 @@ main (int argc, char *argv[])
#endif
/* read hi-scores */
- sprintf(buffer,"%s/dd2-hiscore",DD2_DATA);
+ sprintf(buffer,"%s/dd2-hiscore",DD2_SCORE);
if(!loadScore(buffer,hiscore))
fprintf(stderr,"unable to read hi-scores, using defaults\n");
@@ -463,7 +463,7 @@ main (int argc, char *argv[])
saveCFG(buffer,&conf);
/* save hi-scores */
- sprintf(buffer,"%s/dd2-hiscore",DD2_DATA);
+ sprintf(buffer,"%s/dd2-hiscore",DD2_SCORE);
if(!saveScore(buffer,hiscore))
fprintf(stderr,"unable to save hi-scores\ndo you have permissions to write into %s?\n"
,buffer);