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

View file

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

View file

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

View file

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

View file

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