Implement searching games in Game List for a position
[xboard.git] / winboard / wevalgraph.c
index bca5b95..1adf410 100644 (file)
@@ -154,6 +154,7 @@ static VOID DisplayEvalGraph( HWND hWnd, HDC hDC )
 \r
     // back-end painting; calls back front-end primitives for lines, rectangles and text\r
     PaintEvalGraph();\r
+    SetWindowText(hWnd, MakeEvalTitle(T_("Evaluation Graph")));\r
 \r
     /* Copy bitmap into destination DC */\r
     BitBlt( hDC, 0, 0, nWidthPB, nHeightPB, hdcPB, 0, 0, SRCCOPY );\r
@@ -211,7 +212,7 @@ LRESULT CALLBACK EvalGraphProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM l
         ReleaseDC( hDlg, hDC );\r
         break;\r
 \r
-    case WM_LBUTTONDBLCLK:\r
+    case WM_LBUTTONDOWN:\r
         if( wParam == 0 || wParam == MK_LBUTTON ) {\r
             int index = GetMoveIndexFromPoint( LOWORD(lParam), HIWORD(lParam) );\r
 \r