From 779f4452481365234bef2f236b196be64b628c44 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 9 Jul 2011 13:13:49 +0200 Subject: [PATCH] Let WB eval graph react ot single left-click Unlike in XBoard, the WinBoard eval graph awatys had required double- clicking to go the the corresponding move, while there really is no reason for this, as it is no text edit, and single-clicks have no function (like select). --- winboard/wevalgraph.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/winboard/wevalgraph.c b/winboard/wevalgraph.c index 315be9f..1adf410 100644 --- a/winboard/wevalgraph.c +++ b/winboard/wevalgraph.c @@ -212,7 +212,7 @@ LRESULT CALLBACK EvalGraphProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM l ReleaseDC( hDlg, hDC ); break; - case WM_LBUTTONDBLCLK: + case WM_LBUTTONDOWN: if( wParam == 0 || wParam == MK_LBUTTON ) { int index = GetMoveIndexFromPoint( LOWORD(lParam), HIWORD(lParam) ); -- 1.7.0.4