projects
/
gnushogi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Prevent pat2inc from silently reading gnushogi.pat when requested file is not found.
[gnushogi.git]
/
gnushogi
/
makepattern.c
diff --git
a/gnushogi/makepattern.c
b/gnushogi/makepattern.c
index
c9d97ad
..
947c4bc
100644
(file)
--- 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);