Fixed the MIDI device selection combo box on Settings dialog page initialization.

This commit is contained in:
OBattler
2017-08-16 01:48:24 +02:00
parent b918ee2b47
commit 4fa634737e

View File

@@ -1259,7 +1259,7 @@ static BOOL CALLBACK win_settings_sound_proc(HWND hdlg, UINT message, WPARAM wPa
c++;
}
SendMessage(h, CB_SETCURSEL, settings_sound_to_list[temp_midi_device], 0);
SendMessage(h, CB_SETCURSEL, settings_midi_to_list[temp_midi_device], 0);
h = GetDlgItem(hdlg, IDC_CONFIGURE_MIDI);
if (midi_device_has_config(temp_midi_device))