projects
/
gnushogi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8f8fd31
)
Prevent pat2inc from silently reading gnushogi.pat when requested file is not found.
author
Yann Dirson
<ydirson@free.fr>
Tue, 17 Dec 2013 20:37:19 +0000 (21:37 +0100)
committer
Yann Dirson
<ydirson@free.fr>
Sun, 12 Jan 2014 14:31:22 +0000 (15:31 +0100)
gnushogi/makepattern.c
patch
|
blob
|
history
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);