Display score/depth in Eval Graph title
[xboard.git] / winboard / wevalgraph.c
index ec57ab3..315be9f 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
@@ -171,6 +172,7 @@ LRESULT CALLBACK EvalGraphProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM l
 \r
     switch (message) {\r
     case WM_INITDIALOG:\r
+        Translate(hDlg, DLG_EvalGraph);\r
         if( evalGraphDialog == NULL ) {\r
             evalGraphDialog = hDlg;\r
 \r