summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/init.cpp
diff options
context:
space:
mode:
authorslotwin <slotwin@users.noreply.github.com>2014-06-12 20:43:30 +0000
committerslotwin <slotwin@users.noreply.github.com>2014-06-12 20:43:30 +0000
commit2bf82f155a0e98e6ab6c31a01315582f57bc9aa8 (patch)
tree24d40945c4e30b25ac64ca3ebdd0386c4757cbfd /plugins/UserInfoEx/src/init.cpp
parentb41e007b3cc5cd3cdba4f06237d0d5ccd0585ca3 (diff)
UserInfoEx: rearranged option pages (changed options and icons group name to make it more descriptive, changes some other titles)
proper capitalization code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@9447 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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