diff --git a/base/applications/mscutils/servman/mainwnd.c b/base/applications/mscutils/servman/mainwnd.c index 02d4ff55232..d96b4a32e79 100644 --- a/base/applications/mscutils/servman/mainwnd.c +++ b/base/applications/mscutils/servman/mainwnd.c @@ -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); diff --git a/base/applications/mscutils/servman/propsheet_depends.c b/base/applications/mscutils/servman/propsheet_depends.c index de1d6a55737..90e4e909f40 100644 --- a/base/applications/mscutils/servman/propsheet_depends.c +++ b/base/applications/mscutils/servman/propsheet_depends.c @@ -185,7 +185,6 @@ DependenciesPageProc(HWND hwndDlg, WPARAM wParam, LPARAM lParam) { - PDEPENDDATA pDependData; /* Get the window context */ diff --git a/base/applications/mscutils/servman/servman.c b/base/applications/mscutils/servman/servman.c index 1c893798b2d..ea6142fc765 100644 --- a/base/applications/mscutils/servman/servman.c +++ b/base/applications/mscutils/servman/servman.c @@ -27,7 +27,7 @@ wWinMain(HINSTANCE hThisInstance, MSG Msg; int Ret = 1; INITCOMMONCONTROLSEX icex; - + switch (GetUserDefaultUILanguage()) { case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT): diff --git a/base/applications/mscutils/servman/stop.c b/base/applications/mscutils/servman/stop.c index c4a346dd003..b6844ad7a97 100644 --- a/base/applications/mscutils/servman/stop.c +++ b/base/applications/mscutils/servman/stop.c @@ -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); diff --git a/base/applications/mscutils/servman/stop_dependencies.c b/base/applications/mscutils/servman/stop_dependencies.c index 31588388dcd..da94ebbf414 100644 --- a/base/applications/mscutils/servman/stop_dependencies.c +++ b/base/applications/mscutils/servman/stop_dependencies.c @@ -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; } \ No newline at end of file