wizkit fix

This commit is contained in:
nethack.allison
2002-01-23 17:52:53 +00:00
parent 579a42103e
commit 0011db11d3
+2 -3
View File
@@ -1596,7 +1596,8 @@ fopen_wizkit_file()
char *envp; char *envp;
#endif #endif
if (wizkit[0]) { if (!wizkit[0]) return (FILE *)0;
#ifdef UNIX #ifdef UNIX
if (access(wizkit, 4) == -1) { if (access(wizkit, 4) == -1) {
/* 4 is R_OK on newer systems */ /* 4 is R_OK on newer systems */
@@ -1621,7 +1622,6 @@ fopen_wizkit_file()
wait_synch(); wait_synch();
#endif #endif
} }
}
#if defined(MICRO) || defined(MAC) || defined(__BEOS__) || defined(WIN32) #if defined(MICRO) || defined(MAC) || defined(__BEOS__) || defined(WIN32)
if ((fp = fopenp(fqname(wizkit, CONFIGPREFIX, 0), "r")) if ((fp = fopenp(fqname(wizkit, CONFIGPREFIX, 0), "r"))
@@ -1652,7 +1652,6 @@ fopen_wizkit_file()
# endif # endif
#endif #endif
return (FILE *)0; return (FILE *)0;
} }
void void