diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-10 16:38:37 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-10 16:38:37 +0000 |
commit | 5bedc7c584439c4b2cf01e605c044746674003e4 (patch) | |
tree | 3103c3c16254e7ed9c42a3fcf908562a8b6dfbc8 /plugins/Clist_modern/src/modern_clistmod.cpp | |
parent | 9239c8833dbe27e5257b043a7ca2e90288a9fedb (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_clistmod.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clistmod.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_clistmod.cpp b/plugins/Clist_modern/src/modern_clistmod.cpp index 533f46a51b..dfd87f3dc2 100644 --- a/plugins/Clist_modern/src/modern_clistmod.cpp +++ b/plugins/Clist_modern/src/modern_clistmod.cpp @@ -75,7 +75,7 @@ HICON cliGetIconFromStatusMode(HANDLE hContact, const char *szProto,int status) char str[MAXMODULELABELLENGTH];
strcpy(str,szProto);
strcat(str,"/GetXStatusIcon");
- if (ServiceExists(str))
+ if ( ServiceExists(str))
{
// check status is online
if (status>ID_STATUS_OFFLINE)
@@ -138,7 +138,7 @@ int cli_IconFromStatusMode(const char *szProto,int nStatus, HANDLE hContact) mir_snprintf(AdvancedService,SIZEOF(AdvancedService),"%s%s",szActProto,"/GetAdvancedStatusIcon");
int result = -1;
- if (ServiceExists(AdvancedService))
+ if ( ServiceExists(AdvancedService))
result = CallService(AdvancedService,(WPARAM)hActContact, 0);
if (result == -1 || !(LOWORD(result))) {
|