From baa31fc9e545850d8365afee7c70eb275e2490d3 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Mon, 9 May 2005 01:46:46 +0000 Subject: [PATCH] strip whitespace from end of lines svn path=/trunk/; revision=15171 --- reactos/lib/syssetup/install.c | 8 ++++---- reactos/lib/syssetup/wizard.c | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/reactos/lib/syssetup/install.c b/reactos/lib/syssetup/install.c index 39509a461a7..20c0c520432 100644 --- a/reactos/lib/syssetup/install.c +++ b/reactos/lib/syssetup/install.c @@ -82,11 +82,11 @@ RunVMWInstall(VOID) { 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 @@ RestartDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) { case WM_INITDIALOG: SendDlgItemMessage(hWnd, IDC_RESTART_PROGRESS, PBM_SETRANGE, 0, - MAKELPARAM(0, 300)); + MAKELPARAM(0, 300)); SetTimer(hWnd, 0, 50, NULL); return TRUE; diff --git a/reactos/lib/syssetup/wizard.c b/reactos/lib/syssetup/wizard.c index db615e34162..904b4cfd48d 100644 --- a/reactos/lib/syssetup/wizard.c +++ b/reactos/lib/syssetup/wizard.c @@ -108,7 +108,7 @@ GplDlgProc(HWND hwndDlg, PVOID GplTextLocked; PCHAR GplText; DWORD Size; - + switch (uMsg) { @@ -1128,11 +1128,11 @@ SetSystemLocalTime(HWND hwnd, PSETUPDATA SetupData) 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 @@ SetSystemLocalTime(HWND hwnd, PSETUPDATA SetupData) * 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 @@ SetSystemLocalTime(HWND hwnd, PSETUPDATA SetupData) } CloseHandle(hToken); } - + return Ret; } @@ -1302,7 +1302,7 @@ ProcessPageDlgProc(HWND hwndDlg, 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 @@ InstallWizard(VOID) 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);