Prevent pat2inc from silently reading gnushogi.pat when requested file is not found.
[gnushogi.git] / gnushogi / makepattern.c
index c9d97ad..947c4bc 100644 (file)
@@ -200,9 +200,6 @@ ReadOpeningSequences (short *pindex)
 
     fd = fopen (patternfile, "r");
 
-    if (fd == NULL)
-        fd = fopen ("gnushogi.pat", "r");
-
     if (fd == NULL) {
         sprintf(s, "no pattern file '%s'", patternfile);
         dsp->ShowMessage(s);