diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-29 19:03:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-29 19:03:51 +0000 |
commit | dd96e20eb908dbbecf1a17fdeee0c44ed8b3a974 (patch) | |
tree | ebd667510913aa2bedef89a8d794a74eeda6e5be /plugins/Clist_modern | |
parent | 66357371399956ad19ab667d3c2d49bfc7ea0095 (diff) |
slightly rewritten finger
git-svn-id: http://svn.miranda-ng.org/main/trunk@1244 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_extraimage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_extraimage.cpp b/plugins/Clist_modern/src/modern_extraimage.cpp index 3a306081fe..5a9cc7bcbc 100644 --- a/plugins/Clist_modern/src/modern_extraimage.cpp +++ b/plugins/Clist_modern/src/modern_extraimage.cpp @@ -472,9 +472,8 @@ INT_PTR WideSetIconForExtraColumn(WPARAM wParam,LPARAM lParam) //return hImage on success,-1 on failure
INT_PTR WideAddIconToExtraImageList(WPARAM wParam,LPARAM lParam)
{
- int res = -1;
if (hWideExtraImageList == 0 || wParam == 0){return(-1);};
- res = ((int)ImageList_AddIcon(hWideExtraImageList,(HICON)wParam));
+ int res = ((int)ImageList_AddIcon(hWideExtraImageList,(HICON)wParam));
if (res == 0xFF) res = ((int)ImageList_AddIcon(hWideExtraImageList,(HICON)wParam));
if (res>0xFFFE) return -1;
return res;
|