1420 |
|
|
1421 |
ofn.hwndOwner = hDlg; |
ofn.hwndOwner = hDlg; |
1422 |
if (LOWORD(wParam)==IDC_BITRATE_SSELECT) { |
if (LOWORD(wParam)==IDC_BITRATE_SSELECT) { |
1423 |
ofn.lpstrFilter = "Subtitle files (*.sub, *.ssa)\0*.sub;*.ssa\0All files (*.*)\0*.*\0\0"; |
ofn.lpstrFilter = "Subtitle files (*.sub, *.ssa, *.txt, *.dat)\0*.sub;*.ssa;*.txt;*.dat\0All files (*.*)\0*.*\0\0"; |
1424 |
}else{ |
}else{ |
1425 |
ofn.lpstrFilter = "Audio files (*.mp3, *.ac3)\0*.mp3; *.ac3\0All files (*.*)\0*.*\0\0"; |
ofn.lpstrFilter = "Audio files (*.mp3, *.ac3, *.aac, *.ogg, *.wav)\0*.mp3; *.ac3; *.aac; *.ogg; *.wav\0All files (*.*)\0*.*\0\0"; |
1426 |
} |
} |
1427 |
|
|
1428 |
ofn.lpstrFile = filename; |
ofn.lpstrFile = filename; |
2012 |
|
|
2013 |
case IDC_DEFAULTS : |
case IDC_DEFAULTS : |
2014 |
config_reg_default(config); |
config_reg_default(config); |
2015 |
|
SendDlgItemMessage(hDlg, IDC_PROFILE, CB_SETCURSEL, config->profile, 0); |
2016 |
|
SendDlgItemMessage(hDlg, IDC_MODE, CB_SETCURSEL, config->mode, 0); |
2017 |
main_mode(hDlg, config); |
main_mode(hDlg, config); |
2018 |
main_upload(hDlg, config); |
main_upload(hDlg, config); |
2019 |
break; |
break; |