From aff10b749002044f73edbb587a4d8960524f2ccb Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 15 Jul 2017 14:24:44 +0200 Subject: [PATCH] Fixed the handling of the Voodoo check box in the Settings dialog. --- src/WIN/win_settings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WIN/win_settings.c b/src/WIN/win_settings.c index c8adb02af..6bcaab48f 100644 --- a/src/WIN/win_settings.c +++ b/src/WIN/win_settings.c @@ -729,10 +729,10 @@ static void recalc_vid_list(HWND hdlg) EnableWindow(h, models[temp_model].fixed_gfxcard ? FALSE : TRUE); h = GetDlgItem(hdlg, IDC_CHECK_VOODOO); - EnableWindow(h, (models[model].flags & MODEL_PCI) ? TRUE : FALSE); + EnableWindow(h, (models[temp_model].flags & MODEL_PCI) ? TRUE : FALSE); h = GetDlgItem(hdlg, IDC_BUTTON_VOODOO); - EnableWindow(h, ((models[model].flags & MODEL_PCI) && temp_voodoo) ? TRUE : FALSE); + EnableWindow(h, ((models[temp_model].flags & MODEL_PCI) && temp_voodoo) ? TRUE : FALSE); }