projects
/
gnushogi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2afa551
)
Fixed minor regression in makepatter.
author
Yann Dirson
<ydirson@free.fr>
Sat, 19 Oct 2013 20:22:02 +0000 (22:22 +0200)
committer
Yann Dirson
<ydirson@free.fr>
Sat, 19 Oct 2013 20:22:02 +0000 (22:22 +0200)
In
6cdb4afe21c8d0eb740a6a22a02a0adf922fddfc
, I messed up a conditional
causing an error message to be written even when we did find a pattern file.
gnushogi/makepattern.c
patch
|
blob
|
history
diff --git
a/gnushogi/makepattern.c
b/gnushogi/makepattern.c
index
9b57925
..
067c758
100644
(file)
--- a/
gnushogi/makepattern.c
+++ b/
gnushogi/makepattern.c
@@
-232,10
+232,10
@@
ReadOpeningSequences (short *pindex)
ShowMessage(s);
fclose(fd);
+ } else {
+ sprintf(s, "no pattern file '%s'", patternfile);
+ ShowMessage(s);
}
-
- sprintf(s, "no pattern file '%s'", patternfile);
- ShowMessage(s);
}