set focus back after messagebox

fix formating of previous commit

svn path=/trunk/; revision=22324
This commit is contained in:
Johannes Anderwald 2006-06-12 17:44:57 +00:00
parent e522810b81
commit 2424761624

View file

@ -534,6 +534,7 @@ ComputerPageDlgProc(HWND hwndDlg,
_T("Setup failed to set the computer name."),
_T("ReactOS Setup"),
MB_ICONERROR | MB_OK);
SetFocus(GetDlgItem(hwndDlg, IDC_COMPUTERNAME));
SetWindowLong(hwndDlg, DWL_MSGRESULT, -1);
return TRUE;
}