projects
/
capablanca.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f055614
)
Fix parantheses balancing
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Tue, 27 Oct 2015 10:34:26 +0000
(11:34 +0100)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Tue, 27 Oct 2015 10:34:26 +0000
(11:34 +0100)
lasker-2.2.3/src/obsproc.c
patch
|
blob
|
history
diff --git
a/lasker-2.2.3/src/obsproc.c
b/lasker-2.2.3/src/obsproc.c
index
0043496
..
357b8ba
100644
(file)
--- a/
lasker-2.2.3/src/obsproc.c
+++ b/
lasker-2.2.3/src/obsproc.c
@@
-1087,7
+1087,7
@@
static void stored_mail_moves(int p, int mail, param_list param)
if (!FindPlayer(p, param[0].val.word, &wp, &wconnected))
return;
- if (param[1].type == TYPE_WORD && sscanf(param[1].val.word, "%d", &(param[1].val.integer) == 1 && param[1].val.integer < 0)
+ if (param[1].type == TYPE_WORD && sscanf(param[1].val.word, "%d", &(param[1].val.integer)
)
== 1 && param[1].val.integer < 0)
param[1].type = TYPE_INT; /* [HGM] allow negative number */
if (param[1].type == TYPE_INT) { /* look for a game from history */