strip whitespace from end of lines

svn path=/trunk/; revision=15171
This commit is contained in:
Steven Edwards 2005-05-09 01:46:46 +00:00
parent c31bbf06e5
commit baa31fc9e5
2 changed files with 11 additions and 11 deletions

View file

@ -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;

View file

@ -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);