X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwoptions.c;h=7420fc09140da6594ee0864f123cc26b4433fc85;hb=75c82871211daf66c50935b39427e78922d20a5e;hp=f9f3ce471e3b20009ff43f3ebc4e229ca1cf4fa7;hpb=91477ff29379bf3b98aab23510cf6cb3830e686c;p=xboard.git diff --git a/winboard/woptions.c b/winboard/woptions.c index f9f3ce4..7420fc0 100644 --- a/winboard/woptions.c +++ b/winboard/woptions.c @@ -131,7 +131,6 @@ void SelectComboValue(HANDLE hwndCombo, ComboData *cd, unsigned value); VOID SetLoadOptionEnables(HWND hDlg); VOID SetSaveOptionEnables(HWND hDlg); VOID SetTimeControlEnables(HWND hDlg); -void NewSettingEvent(int option, char *command, int value); /*---------------------------------------------------------------------------*\ * @@ -2939,7 +2938,7 @@ LRESULT CALLBACK UciOptionsDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM // [HGM] smp: get nr of cores: oldCores = appData.smpCores; appData.smpCores = GetDlgItemInt(hDlg, IDC_Cores, NULL, FALSE ); - if(appData.smpCores != oldCores) NewSettingEvent(FALSE, "cores", appData.smpCores); + if(appData.smpCores != oldCores) NewSettingEvent(FALSE, &(first.maxCores), "cores", appData.smpCores); // [HGM] book: read tick boxes for own book use appData.firstHasOwnBookUCI = (Boolean) IsDlgButtonChecked( hDlg, IDC_OwnBook1 ); appData.secondHasOwnBookUCI = (Boolean) IsDlgButtonChecked( hDlg, IDC_OwnBook2 );