summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-10 16:38:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-10 16:38:37 +0000
commit5bedc7c584439c4b2cf01e605c044746674003e4 (patch)
tree3103c3c16254e7ed9c42a3fcf908562a8b6dfbc8 /plugins/Clist_modern/src/modern_clui.cpp
parent9239c8833dbe27e5257b043a7ca2e90288a9fedb (diff)
- fix for uninitialized variables;
- code cleaning in clists git-svn-id: http://svn.miranda-ng.org/main/trunk@2274 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clui.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp
index dea8708184..c0abf2a8b7 100644
--- a/plugins/Clist_modern/src/modern_clui.cpp
+++ b/plugins/Clist_modern/src/modern_clui.cpp
@@ -66,10 +66,10 @@ int CLUI::OnEvent_ModulesLoaded(WPARAM wParam,LPARAM lParam)
g_CluiData.bMetaAvail = ServiceExists(MS_MC_GETDEFAULTCONTACT) ? TRUE : FALSE;
setlocale(LC_ALL, ""); //fix for case insensitive comparing
- if (ServiceExists(MS_MC_DISABLEHIDDENGROUP))
+ if ( ServiceExists(MS_MC_DISABLEHIDDENGROUP))
CallService(MS_MC_DISABLEHIDDENGROUP, (WPARAM)TRUE, 0);
- if (ServiceExists(MS_MC_GETPROTOCOLNAME))
+ if ( ServiceExists(MS_MC_GETPROTOCOLNAME))
g_szMetaModuleName = (char *)CallService(MS_MC_GETPROTOCOLNAME, 0, 0);
CLUIServices_ProtocolStatusChanged(0,0);
@@ -121,7 +121,7 @@ int CLUI::OnEvent_ContactMenuPreBuild(WPARAM wParam, LPARAM lParam)
else {
int has_avatar;
- if (ServiceExists(MS_AV_GETAVATARBITMAP))
+ if ( ServiceExists(MS_AV_GETAVATARBITMAP))
has_avatar = CallService(MS_AV_GETAVATARBITMAP, (WPARAM)hItem, 0);
else {
DBVARIANT dbv = {0};