projects
/
gnushogi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix detection of "otim".
[gnushogi.git]
/
gnushogi
/
commondsp.c
diff --git
a/gnushogi/commondsp.c
b/gnushogi/commondsp.c
index
5f5b5bf
..
5e87fb4
100644
(file)
--- a/
gnushogi/commondsp.c
+++ b/
gnushogi/commondsp.c
@@
-1735,8
+1735,8
@@
InputCommand(char *command)
{
SetMachineTime(sx + strlen("time"));
}
- else if (strcmp(s, "otime") == 0 ||
- (xboard && strcmp(s, "otim")) == 0)
+ else if ((strcmp(s, "otime") == 0) ||
+ (xboard && (strcmp(s, "otim")) == 0))
{
SetOppTime(sx + strlen("otime"));
}