X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwoptions.c;h=93dde9ef2e7438580192b4938ca23db4d4fdfaae;hb=e3e3615246633473d0ea262f6d3974d6a49cfd01;hp=2c5b24f4a4517c93c75c5b59675bf2d9239fc6b9;hpb=c6cf9d8d64aded07d2dc0281699990775199870f;p=xboard.git diff --git a/winboard/woptions.c b/winboard/woptions.c index 2c5b24f..93dde9e 100644 --- a/winboard/woptions.c +++ b/winboard/woptions.c @@ -187,6 +187,7 @@ GeneralOptionsDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) CHECK_BOX(OPT_ExtraInfoInMoveHistory, appData.showEvalInMoveHistory); CHECK_BOX(OPT_HighlightMoveArrow, appData.highlightMoveWithArrow); CHECK_BOX(OPT_AutoLogo, appData.autoLogo); // [HGM] logo + CHECK_BOX(OPT_SmartMove, appData.oneClick); // [HGM] one-click #undef CHECK_BOX @@ -235,6 +236,7 @@ GeneralOptionsDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) appData.testLegality = IS_CHECKED(OPT_TestLegality); appData.highlightMoveWithArrow=IS_CHECKED(OPT_HighlightMoveArrow); appData.autoLogo =IS_CHECKED(OPT_AutoLogo); // [HGM] logo + appData.oneClick =IS_CHECKED(OPT_SmartMove); // [HGM] one-click #undef IS_CHECKED @@ -784,7 +786,7 @@ VariantWhichRadio(HWND hDlg) (IsDlgButtonChecked(hDlg, OPT_Variant3Check) ? Variant3Check : (IsDlgButtonChecked(hDlg, OPT_VariantGreat) ? VariantGreat : (IsDlgButtonChecked(hDlg, OPT_VariantGiveaway) ? VariantGiveaway : - (IsDlgButtonChecked(hDlg, OPT_VariantTwilight) ? VariantTwilight : + (IsDlgButtonChecked(hDlg, OPT_VariantTwilight) ? VariantSpartan : (IsDlgButtonChecked(hDlg, OPT_VariantMakruk) ? VariantMakruk : (IsDlgButtonChecked(hDlg, OPT_VariantSChess) ? VariantSChess : VariantNormal )))))))))))))))))))))))))))))); @@ -884,7 +886,7 @@ NewVariantDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) case VariantGiveaway: CheckDlgButton(hDlg, OPT_VariantGiveaway, TRUE); break; - case VariantTwilight: + case VariantSpartan: CheckDlgButton(hDlg, OPT_VariantTwilight, TRUE); break; case VariantMakruk: