X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=76c3b77b495f8c8e54a17735f3d35bd75f396521;hb=ed8c91aad1e9649a417feb5ef3d3637595ddbbfb;hp=d618be46313febff5f8366668a07d662c1098195;hpb=f4f7b8a380740d3b63ce4c99f222bf822f41631e;p=xboard.git diff --git a/xboard.c b/xboard.c index d618be4..76c3b77 100644 --- a/xboard.c +++ b/xboard.c @@ -3955,11 +3955,7 @@ void WhiteClock(w, event, prms, nprms) String *prms; Cardinal *nprms; { - if (gameMode == EditPosition || gameMode == IcsExamining) { - SetWhiteToPlayEvent(); - } else if (gameMode == IcsPlayingBlack || gameMode == MachinePlaysWhite) { - CallFlagEvent(); - } + ClockClick(0); } void BlackClock(w, event, prms, nprms) @@ -3968,11 +3964,7 @@ void BlackClock(w, event, prms, nprms) String *prms; Cardinal *nprms; { - if (gameMode == EditPosition || gameMode == IcsExamining) { - SetBlackToPlayEvent(); - } else if (gameMode == IcsPlayingWhite || gameMode == MachinePlaysBlack) { - CallFlagEvent(); - } + ClockClick(1); }