diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-13 21:53:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-13 21:53:42 +0000 |
commit | 68af6b15ae7fcafd0f2253fff3882832b26b3898 (patch) | |
tree | c4c0d905c1b0e934b94ebb764af45be35d9f4013 /plugins/Clist_modern/src/modern_skinengine.cpp | |
parent | b2b03f9f63b17e77b92cdf48ea7a2f0ff4bc33e3 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14154 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinengine.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinengine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_skinengine.cpp b/plugins/Clist_modern/src/modern_skinengine.cpp index 24bccdd60c..551a079f6b 100644 --- a/plugins/Clist_modern/src/modern_skinengine.cpp +++ b/plugins/Clist_modern/src/modern_skinengine.cpp @@ -2547,7 +2547,7 @@ HICON ske_ImageList_GetIcon(HIMAGELIST himl, int i) BOOL ske_ImageList_DrawEx(HIMAGELIST himl, int i, HDC hdcDst, int x, int y, int dx, int dy, COLORREF rgbBk, COLORREF rgbFg, UINT fStyle) { - //the routine to directly draw icon from image list without creating icon from there - should be some faster + // the routine to directly draw icon from image list without creating icon from there - should be some faster if (i < 0) return FALSE; @@ -2555,9 +2555,9 @@ BOOL ske_ImageList_DrawEx(HIMAGELIST himl, int i, HDC hdcDst, int x, int y, int return ImageList_DrawEx(himl, i, hdcDst, x, y, dx, dy, rgbBk, rgbFg, fStyle); BYTE alpha; - if (fStyle&ILD_BLEND25) + if (fStyle & ILD_BLEND25) alpha = 64; - else if (fStyle&ILD_BLEND50) + else if (fStyle & ILD_BLEND50) alpha = 128; else alpha = 255; |