]> granicus.if.org Git - nethack/commitdiff
A .txt file is easier for the end user.
authorwarwick <warwick>
Thu, 11 Sep 2003 04:19:02 +0000 (04:19 +0000)
committerwarwick <warwick>
Thu, 11 Sep 2003 04:19:02 +0000 (04:19 +0000)
src/files.c

index eb8a55107f6ab62513fc3fe9b2e50d12cb250075..5a94a16d14b054812cc4e02aba03440cf3586f0e 100644 (file)
@@ -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) {