diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-23 10:19:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-23 10:19:27 +0000 |
commit | 92ad5aa7da96a047c03c391560bca2b49b5a284d (patch) | |
tree | 7e563e52d0037eeb0d7165bdca58ea6e4d7c9ea8 /protocols/IcqOscarJ | |
parent | 06fc68c05e43d94ee5fc6dce81bca36fb7b92ea9 (diff) |
- fixed extra icons in WhenWasIt;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2440 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_xstatus.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/icq_xstatus.cpp b/protocols/IcqOscarJ/src/icq_xstatus.cpp index 3c293eb48b..427b413972 100644 --- a/protocols/IcqOscarJ/src/icq_xstatus.cpp +++ b/protocols/IcqOscarJ/src/icq_xstatus.cpp @@ -1166,8 +1166,6 @@ INT_PTR CIcqProto::RequestAdvStatusIconIdx(WPARAM wParam, LPARAM lParam) BYTE bXStatus = getContactXStatus((HANDLE)wParam);
if (bXStatus) {
- int idx=-1;
-
if (!bXStatusCListIconsValid[bXStatus-1]) { // adding icon
int idx = hXStatusCListIcons[bXStatus-1];
HIMAGELIST hCListImageList = (HIMAGELIST)CallService(MS_CLIST_GETICONSIMAGELIST,0,0);
@@ -1185,7 +1183,7 @@ INT_PTR CIcqProto::RequestAdvStatusIconIdx(WPARAM wParam, LPARAM lParam) }
}
- idx = bXStatusCListIconsValid[bXStatus-1] ? hXStatusCListIcons[bXStatus-1] : -1;
+ int idx = bXStatusCListIconsValid[bXStatus-1] ? hXStatusCListIcons[bXStatus-1] : -1;
if (idx > 0)
return (idx & 0xFFFF) << 16;
}
|