From: warwick Date: Thu, 11 Sep 2003 04:19:02 +0000 (+0000) Subject: A .txt file is easier for the end user. X-Git-Tag: MOVE2GIT~1796 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fc194522220ea2afeda06111214a64ae969e8ea;p=nethack A .txt file is easier for the end user. --- diff --git a/src/files.c b/src/files.c index eb8a55107..5a94a16d1 100644 --- a/src/files.c +++ b/src/files.c @@ -1554,6 +1554,9 @@ const char *filename; Sprintf(tmp_config, "%s/%s", envp, "Library/Preferences/NetHack Defaults"); if ((fp = fopenp(tmp_config, "r")) != (FILE *)0) return(fp); + Sprintf(tmp_config, "%s/%s", envp, "Library/Preferences/NetHack Defaults.txt"); + if ((fp = fopenp(tmp_config, "r")) != (FILE *)0) + return(fp); } # endif if (errno != ENOENT) {