A .txt file is easier for the end user.
This commit is contained in:
@@ -1554,6 +1554,9 @@ const char *filename;
|
|||||||
Sprintf(tmp_config, "%s/%s", envp, "Library/Preferences/NetHack Defaults");
|
Sprintf(tmp_config, "%s/%s", envp, "Library/Preferences/NetHack Defaults");
|
||||||
if ((fp = fopenp(tmp_config, "r")) != (FILE *)0)
|
if ((fp = fopenp(tmp_config, "r")) != (FILE *)0)
|
||||||
return(fp);
|
return(fp);
|
||||||
|
Sprintf(tmp_config, "%s/%s", envp, "Library/Preferences/NetHack Defaults.txt");
|
||||||
|
if ((fp = fopenp(tmp_config, "r")) != (FILE *)0)
|
||||||
|
return(fp);
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
if (errno != ENOENT) {
|
if (errno != ENOENT) {
|
||||||
|
|||||||
Reference in New Issue
Block a user