From 238666d40994f027a42e521ccfbcdc4527379d9d Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 24 Oct 2011 20:00:28 +0200 Subject: [PATCH] Don't adjust clock on right-click in EditGame mode WB This was a change that was already done for the left-clicks, but somehow never made it togit for the right-clicks --- winboard/winboard.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/winboard/winboard.c b/winboard/winboard.c index 0016e7a..7638faf 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -4227,9 +4227,9 @@ MouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) if(y == -2) { /* [HGM] right mouse button in clock area edit-game mode ups clock */ if (PtInRect((LPRECT) &whiteRect, pt)) { - if (gameMode == EditGame || GetKeyState(VK_SHIFT) < 0) AdjustClock(flipClock, 1); + if (GetKeyState(VK_SHIFT) < 0) AdjustClock(flipClock, 1); } else if (PtInRect((LPRECT) &blackRect, pt)) { - if (gameMode == EditGame || GetKeyState(VK_SHIFT) < 0) AdjustClock(!flipClock, 1); + if (GetKeyState(VK_SHIFT) < 0) AdjustClock(!flipClock, 1); } break; } -- 1.7.0.4