mirror of
https://github.com/abakh/nbsdgames.git
synced 2025-02-02 15:07:27 -05:00
minor changes
This commit is contained in:
parent
9b8bb69b57
commit
0c2e325bc4
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
#define PP_SCORES "PipesScores"
|
||||
#define JW_SCORES "JewelsScores"
|
||||
#define PP_SCORES "/usr/games/pp_scores"
|
||||
#define JW_SCORES "/user/games/jw_scores"
|
||||
//for easier access
|
||||
|
@ -40,7 +40,7 @@ byte scorewrite(long score){// only saves the top 10
|
||||
else{
|
||||
deforno=0;
|
||||
if( !(scorefile = fopen(getenv("JW_SCORES"),"r")) ){
|
||||
fprintf(stderr,"\nNo accessible score files found. You can make an empty text file in %s/%s or set JW_SCORES to such a file to solve this. \n",getenv("HOME"),JW_SCORES);
|
||||
fprintf(stderr,"\nNo accessible score files found. You can make an empty text file in %s or set JW_SCORES to such a file to solve this. \n",JW_SCORES);
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ byte scorewrite(void){// only saves the top 10, returns the place in the chart
|
||||
else{
|
||||
deforno=0;
|
||||
if( !(scorefile = fopen(getenv("PP_SCORES"),"r")) ){
|
||||
sprintf(error,"No accessible score files found. You can make an empty text file in %s/%s or set PP_SCORES to such a file to solve this.",getenv("HOME"),PP_SCORES);
|
||||
sprintf(error,"No accessible score files found. You can make an empty text file in %s or set PP_SCORES to such a file to solve this.",PP_SCORES);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user