Allow second engine to analyze too
[xboard.git] / winboard / wengineoutput.c
index ad34427..96d156c 100644 (file)
@@ -239,7 +239,7 @@ GetMemoLine(HWND hDlg, int x, int y)
        memo = currentPV ? IDC_EngineMemo2 : IDC_EngineMemo1;\r
        index = SendDlgItemMessage( hDlg, memo, EM_CHARFROMPOS, 0, (LPARAM) &pt );\r
        GetDlgItemText(hDlg, memo, buf, sizeof(buf));\r
-       if(LoadMultiPV(x, y, buf, index, &start, &end)) {\r
+       if(LoadMultiPV(x, y, buf, index, &start, &end, currentPV)) {\r
            SetCapture(hDlg);\r
            SendMessage( outputField[currentPV][nMemo], EM_SETSEL, (WPARAM)start, (LPARAM)end );\r
            highTextStart[currentPV] = start; highTextEnd[currentPV] = end;\r