[ros-diffs] [janderwald] 22324: set focus back after messagebox fix formating of previous commit
janderwald at svn.reactos.org
janderwald at svn.reactos.org
Mon Jun 12 19:44:58 CEST 2006
Author: janderwald
Date: Mon Jun 12 21:44:57 2006
New Revision: 22324
URL: http://svn.reactos.ru/svn/reactos?rev=22324&view=rev
Log:
set focus back after messagebox
fix formating of previous commit
Modified:
trunk/reactos/dll/win32/syssetup/wizard.c
Modified: trunk/reactos/dll/win32/syssetup/wizard.c
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/syssetup/wizard.c?rev=22324&r1=22323&r2=22324&view=diff
==============================================================================
--- trunk/reactos/dll/win32/syssetup/wizard.c (original)
+++ trunk/reactos/dll/win32/syssetup/wizard.c Mon Jun 12 21:44:57 2006
@@ -521,7 +521,7 @@
_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 @@
_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;
}
More information about the Ros-diffs
mailing list