diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-02 21:38:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-02 21:38:16 +0000 |
commit | 28f6bfdc3ea1f2d34a05855f0459caa96c8fe2b6 (patch) | |
tree | 094d89e84844aaebd9f86e89f4646fe956e5febb /plugins/Clist_nicer/src/clistmod.cpp | |
parent | 40b39cebd5aa00ee8150f84a2b7987b5595ef2fc (diff) |
minor cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@13976 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clistmod.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/clistmod.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/clistmod.cpp b/plugins/Clist_nicer/src/clistmod.cpp index 2b7036978b..c04ac1ba56 100644 --- a/plugins/Clist_nicer/src/clistmod.cpp +++ b/plugins/Clist_nicer/src/clistmod.cpp @@ -55,11 +55,11 @@ int IconFromStatusMode(const char *szProto, int status, MCONTACT hContact, HICON if (szProto != NULL && !mir_strcmp(szProto, META_PROTO) && hContact != 0 && !(cfg::dat.dwFlags & CLUI_USEMETAICONS)) {
MCONTACT hSubContact = db_mc_getMostOnline(hContact);
szFinalProto = GetContactProto(hSubContact);
- finalStatus = (status == 0) ? (WORD) cfg::getWord(hSubContact, szFinalProto, "Status", ID_STATUS_OFFLINE) : status;
+ finalStatus = (status == 0) ? (WORD)cfg::getWord(hSubContact, szFinalProto, "Status", ID_STATUS_OFFLINE) : status;
hContact = hSubContact;
}
else {
- szFinalProto = (char*) szProto;
+ szFinalProto = (char*)szProto;
finalStatus = status;
}
@@ -98,7 +98,7 @@ static INT_PTR GetCaps(WPARAM wParam, LPARAM) case CLUICAPS_FLAGS1:
return CLUIF_HIDEEMPTYGROUPS | CLUIF_DISABLEGROUPS | CLUIF_HASONTOPOPTION | CLUIF_HASAUTOHIDEOPTION;
case CLUICAPS_FLAGS2:
- return MAKELONG(EXTRA_ICON_COUNT,1);
+ return MAKELONG(EXTRA_ICON_COUNT, 1);
}
return 0;
}
|