From 2424761624d8af3b28fa2f7b67bf4996e75e3d06 Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Mon, 12 Jun 2006 17:44:57 +0000 Subject: [PATCH] set focus back after messagebox fix formating of previous commit svn path=/trunk/; revision=22324 --- reactos/dll/win32/syssetup/wizard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/dll/win32/syssetup/wizard.c b/reactos/dll/win32/syssetup/wizard.c index ad55013d223..a2570a39f13 100644 --- a/reactos/dll/win32/syssetup/wizard.c +++ b/reactos/dll/win32/syssetup/wizard.c @@ -521,7 +521,7 @@ ComputerPageDlgProc(HWND hwndDlg, _T("Setup cannot continue until you enter the name of your computer."), _T("ReactOS Setup"), MB_ICONERROR | MB_OK); - SetFocus(GetDlgItem(hwndDlg, IDC_COMPUTERNAME)); + SetFocus(GetDlgItem(hwndDlg, IDC_COMPUTERNAME)); SetWindowLong(hwndDlg, DWL_MSGRESULT, -1); return TRUE; } @@ -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; }