[SERVMAN] Fix trailing whitespace.

This commit is contained in:
Hermès Bélusca-Maïto 2020-08-20 17:50:42 +02:00
parent f1a4a6e704
commit ec0853ba70
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
5 changed files with 8 additions and 9 deletions

View file

@ -383,7 +383,7 @@ MainWndCommand(PMAIN_WND_INFO Info,
UNREFERENCED_PARAMETER(hControl); UNREFERENCED_PARAMETER(hControl);
WCHAR szAppName[256]; WCHAR szAppName[256];
WCHAR szAppAuthors[256]; WCHAR szAppAuthors[256];
HICON hIcon; HICON hIcon;
switch (CmdId) switch (CmdId)
@ -596,7 +596,7 @@ MainWndCommand(PMAIN_WND_INFO Info,
case ID_ABOUT: case ID_ABOUT:
LoadStringW(hInstance, IDS_APPNAME, szAppName, _countof(szAppName)); LoadStringW(hInstance, IDS_APPNAME, szAppName, _countof(szAppName));
LoadStringW(hInstance, IDS_APPAUTHORS, szAppAuthors, _countof(szAppAuthors)); LoadStringW(hInstance, IDS_APPAUTHORS, szAppAuthors, _countof(szAppAuthors));
hIcon = LoadIconW(hInstance, MAKEINTRESOURCEW(IDI_SM_ICON)); hIcon = LoadIconW(hInstance, MAKEINTRESOURCEW(IDI_SM_ICON));
ShellAboutW(Info->hMainWnd, szAppName, szAppAuthors, hIcon); ShellAboutW(Info->hMainWnd, szAppName, szAppAuthors, hIcon);
DestroyIcon(hIcon); DestroyIcon(hIcon);

View file

@ -185,7 +185,6 @@ DependenciesPageProc(HWND hwndDlg,
WPARAM wParam, WPARAM wParam,
LPARAM lParam) LPARAM lParam)
{ {
PDEPENDDATA pDependData; PDEPENDDATA pDependData;
/* Get the window context */ /* Get the window context */

View file

@ -27,7 +27,7 @@ wWinMain(HINSTANCE hThisInstance,
MSG Msg; MSG Msg;
int Ret = 1; int Ret = 1;
INITCOMMONCONTROLSEX icex; INITCOMMONCONTROLSEX icex;
switch (GetUserDefaultUILanguage()) switch (GetUserDefaultUILanguage())
{ {
case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT): case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT):

View file

@ -26,7 +26,7 @@ DoStopService(_In_z_ LPWSTR ServiceName,
DWORD WaitTime; DWORD WaitTime;
DWORD Timeout; DWORD Timeout;
DWORD dwResult = ERROR_SUCCESS; DWORD dwResult = ERROR_SUCCESS;
hSCManager = OpenSCManagerW(NULL, hSCManager = OpenSCManagerW(NULL,
NULL, NULL,
SC_MANAGER_CONNECT); SC_MANAGER_CONNECT);
@ -113,7 +113,7 @@ DoStopService(_In_z_ LPWSTR ServiceName,
} }
else else
{ {
dwResult = GetLastError(); dwResult = GetLastError();
} }
CloseServiceHandle(hService); CloseServiceHandle(hService);

View file

@ -14,7 +14,7 @@ typedef struct _STOP_DATA
LPWSTR ServiceName; LPWSTR ServiceName;
LPWSTR DisplayName; LPWSTR DisplayName;
LPWSTR ServiceList; LPWSTR ServiceList;
} STOP_DATA, *PSTOP_DATA; } STOP_DATA, *PSTOP_DATA;
static LPWSTR static LPWSTR
@ -250,7 +250,7 @@ InitDialog(HWND hDlg,
AddServiceNamesToStop(hServiceListBox, AddServiceNamesToStop(hServiceListBox,
(LPWSTR)StopData->ServiceList); (LPWSTR)StopData->ServiceList);
} }
return bRet; return bRet;
} }
@ -309,6 +309,6 @@ CreateStopDependsDialog(HWND hParent,
(LPARAM)&StopData); (LPARAM)&StopData);
if (Result == IDOK) if (Result == IDOK)
return TRUE; return TRUE;
return FALSE; return FALSE;
} }