[misc] change default number of bad blocks passes to 1

* Also fix a potential issue if the server adds a charset
  to plain/text data on update check
This commit is contained in:
Pete Batard 2015-04-18 23:14:55 +01:00
parent c1cd6c7762
commit fa5f8702c3
3 changed files with 10 additions and 10 deletions

View file

@ -1646,7 +1646,7 @@ void InitDialog(HWND hDlg)
for (i=0; i<4; i++) {
IGNORE_RETVAL(ComboBox_AddStringU(hNBPasses, lmprintf((i==0)?MSG_034:MSG_035, i+1)));
}
IGNORE_RETVAL(ComboBox_SetCurSel(hNBPasses, 1));
IGNORE_RETVAL(ComboBox_SetCurSel(hNBPasses, 0));
SetPassesTooltip();
// Fill up the boot type dropdown
IGNORE_RETVAL(ComboBox_SetItemData(hBootType, ComboBox_AddStringU(hBootType, "MS-DOS"), DT_WINME));