strip whitespace from end of lines
Modified: trunk/reactos/lib/syssetup/install.c
Modified: trunk/reactos/lib/syssetup/wizard.c
_____
Modified: trunk/reactos/lib/syssetup/install.c
--- trunk/reactos/lib/syssetup/install.c 2005-05-09 01:44:13 UTC
(rev 15170)
+++ trunk/reactos/lib/syssetup/install.c 2005-05-09 01:46:46 UTC
(rev 15171)
@@ -82,11 +82,11 @@
{
PROCESS_INFORMATION ProcInfo;
STARTUPINFO si;
-
+
ZeroMemory(&si, sizeof(STARTUPINFO));
si.cb = sizeof(STARTUPINFO);
-
- if(CreateProcess(NULL, _T("vmwinst.exe"), NULL, NULL, TRUE,
NORMAL_PRIORITY_CLASS,
+
+ if(CreateProcess(NULL, _T("vmwinst.exe"), NULL, NULL, TRUE,
NORMAL_PRIORITY_CLASS,
NULL, NULL, &si, &ProcInfo))
{
WaitForSingleObject(ProcInfo.hProcess, INFINITE);
@@ -237,7 +237,7 @@
{
case WM_INITDIALOG:
SendDlgItemMessage(hWnd, IDC_RESTART_PROGRESS, PBM_SETRANGE,
0,
- MAKELPARAM(0, 300));
+ MAKELPARAM(0, 300));
SetTimer(hWnd, 0, 50, NULL);
return TRUE;
_____
Modified: trunk/reactos/lib/syssetup/wizard.c
--- trunk/reactos/lib/syssetup/wizard.c 2005-05-09 01:44:13 UTC (rev
15170)
+++ trunk/reactos/lib/syssetup/wizard.c 2005-05-09 01:46:46 UTC (rev
15171)
@@ -108,8 +108,8 @@
PVOID GplTextLocked;
PCHAR GplText;
DWORD Size;
-
+
switch (uMsg)
{
case WM_INITDIALOG:
@@ -1128,11 +1128,11 @@
DWORD PrevSize;
TOKEN_PRIVILEGES priv, previouspriv;
BOOL Ret = FALSE;
-
+
/*
* enable the SeSystemtimePrivilege privilege
*/
-
+
if(OpenProcessToken(GetCurrentProcess(),
TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
&hToken))
@@ -1156,7 +1156,7 @@
* we successfully enabled it, we're permitted to change the
system time
*/
Ret = SetLocalTime(&SetupData->SystemTime);
-
+
/*
* for the sake of security, restore the previous status again
*/
@@ -1173,7 +1173,7 @@
}
CloseHandle(hToken);
}
-
+
return Ret;
}
@@ -1302,7 +1302,7 @@
PropSheet_SetWizButtons(GetParent(hwndDlg), 0);
SendDlgItemMessage(hwndDlg, IDC_PROCESSPROGRESS,
PBM_SETRANGE, 0,
- MAKELPARAM(0, 300));
+ MAKELPARAM(0, 300));
SetTimer(hwndDlg, 0, 50, NULL);
break;
@@ -1448,7 +1448,7 @@
ahpsp[5] = CreatePropertySheetPage(&psp);
- /* Create the Process page
+ /* Create the Process page
psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE |
PSP_USEHEADERSUBTITLE;
psp.pszHeaderTitle = MAKEINTRESOURCE(IDS_PROCESSTITLE);
psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_PROCESSSUBTITLE);