From: Yann Dirson Date: Tue, 17 Dec 2013 20:37:19 +0000 (+0100) Subject: Prevent pat2inc from silently reading gnushogi.pat when requested file is not found. X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=commitdiff_plain;h=4e26e1a87fa7f068d144edfe0e2f67b89cc966ab Prevent pat2inc from silently reading gnushogi.pat when requested file is not found. --- diff --git a/gnushogi/makepattern.c b/gnushogi/makepattern.c index c9d97ad..947c4bc 100644 --- a/gnushogi/makepattern.c +++ b/gnushogi/makepattern.c @@ -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);