Cosmetic: Multiple cosmetic changes

- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces

Note: Only affects files with extension "cpp" and "h" under /src/server
This commit is contained in:
Spp committed 2011-09-29 12:43:05 +02:00
1 parent 8b820baa73
commit b16d2245bb
390 files changed
+1545 -1545

No files matched your search

+2 -2
View File
@@ -80,7 +80,7 @@ bool WinServiceInstall()
if (service)
{
advapi32 = GetModuleHandle("ADVAPI32.DLL");
if(!advapi32)
if (!advapi32)
{
CloseServiceHandle(service);
CloseServiceHandle(serviceControlManager);
@@ -232,7 +232,7 @@ void WINAPI ServiceMain(DWORD argc, char *argv[])
m_ServiceStatus = 1;
argc = 1;
main(argc , argv);
main(argc, argv);
// service was stopped
serviceStatus.dwCurrentState = SERVICE_STOP_PENDING;