summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/init.cpp')
-rw-r--r--plugins/UserInfoEx/src/init.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/UserInfoEx/src/init.cpp b/plugins/UserInfoEx/src/init.cpp
index 63231377a0..80b970961c 100644
--- a/plugins/UserInfoEx/src/init.cpp
+++ b/plugins/UserInfoEx/src/init.cpp
@@ -86,7 +86,7 @@ static int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
// build contact's menuitems
RebuildMenu();
- HookEvent( ME_CLIST_PREBUILDSTATUSMENU, (MIRANDAHOOK)RebuildAccount);
+ HookEvent(ME_CLIST_PREBUILDSTATUSMENU, (MIRANDAHOOK)RebuildAccount);
return 0;
}
@@ -132,7 +132,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD miranda
*
* @return array of interfaces
**/
-
extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {
MIID_UIUSERINFO, // replace the default userinfo module
MIID_SREMAIL, // Send/Receive E-Mail service is provided
@@ -161,7 +160,7 @@ extern "C" int __declspec(dllexport) Load(void)
// init common controls
INITCOMMONCONTROLSEX ccEx;
ccEx.dwSize = sizeof(ccEx);
- ccEx.dwICC = ICC_WIN95_CLASSES|ICC_DATE_CLASSES;
+ ccEx.dwICC = ICC_WIN95_CLASSES | ICC_DATE_CLASSES;
InitCommonControlsEx(&ccEx);
ZeroMemory(&myGlobals, sizeof(MGLOBAL));
@@ -178,14 +177,14 @@ extern "C" int __declspec(dllexport) Load(void)
result = CallService(MS_IMG_GETINTERFACE, FI_IF_VERSION, (LPARAM)&FIP);
if (FIP == NULL || result != S_OK) {
- MessageBoxEx(NULL, TranslateT("Fatal error, image services not found. Flags Module will be disabled."), _T("Error"), MB_OK | MB_ICONERROR | MB_APPLMODAL, 0);
+ MessageBoxEx(NULL, TranslateT("Fatal error, image services not found. Flags module will be disabled."), _T("Error"), MB_OK | MB_ICONERROR | MB_APPLMODAL, 0);
return 1;
}
if (IsWinVerVistaPlus()) {
HMODULE hDwmApi = LoadLibraryA("dwmapi.dll");
if (hDwmApi)
- dwmIsCompositionEnabled = (pfnDwmIsCompositionEnabled)GetProcAddress(hDwmApi,"DwmIsCompositionEnabled");
+ dwmIsCompositionEnabled = (pfnDwmIsCompositionEnabled)GetProcAddress(hDwmApi, "DwmIsCompositionEnabled");
}
// check for dbx_tree