From 3ec93b6744328421a82b9fd39d711eeea0d9749a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 13 Aug 2015 22:13:41 +0000 Subject: - 64-bit compatibility; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14950 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AutoShutdown/src/main.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'plugins/AutoShutdown/src/main.cpp') diff --git a/plugins/AutoShutdown/src/main.cpp b/plugins/AutoShutdown/src/main.cpp index 480debca46..fca05d6585 100644 --- a/plugins/AutoShutdown/src/main.cpp +++ b/plugins/AutoShutdown/src/main.cpp @@ -38,7 +38,7 @@ PLUGININFOEX pluginInfo = { {0x9de24579, 0x5c5c, 0x49aa, {0x80, 0xe8, 0x4d, 0x38, 0xe4, 0x34, 0x4e, 0x63}} }; -IconItem iconList[] = +IconItem iconList[] = { { LPGEN("Header"), "AutoShutdown_Header", IDI_HEADER }, { LPGEN("Active"), "AutoShutdown_Active", IDI_ACTIVE }, @@ -51,13 +51,12 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, VOID*) return TRUE; } -static int ShutdownModulesLoaded(WPARAM,LPARAM) +static int ShutdownModulesLoaded(WPARAM, LPARAM) { /* Toolbar Item */ - HookEvent(ME_TTB_MODULELOADED,ToolbarLoaded); /* no service to check for */ + HookEvent(ME_TTB_MODULELOADED, ToolbarLoaded); /* no service to check for */ WatcherModulesLoaded(); - return 0; } @@ -72,8 +71,8 @@ extern "C" __declspec(dllexport) int Load(void) mir_getCLI(); INITCOMMONCONTROLSEX icc; - icc.dwSize=sizeof(icc); - icc.dwICC=ICC_DATE_CLASSES|ICC_UPDOWN_CLASS|ICC_PROGRESS_CLASS; + icc.dwSize = sizeof(icc); + icc.dwICC = ICC_DATE_CLASSES | ICC_UPDOWN_CLASS | ICC_PROGRESS_CLASS; if (!InitCommonControlsEx(&icc)) return 1; if (InitFrame()) return 1; /* before icons */ @@ -98,4 +97,4 @@ extern "C" __declspec(dllexport) int Unload(void) UninitFrame(); UninitShutdownSvc(); return 0; -} \ No newline at end of file +} -- cgit v1.2.3