summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_skinengine.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-20 19:21:48 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-20 19:21:48 +0000
commit6a7f572f84f3f23b55ab0f42c1203035463c38d8 (patch)
treeaa1310b80f874076f6bce5867fcf00bafdee2795 /plugins/Clist_modern/src/modern_skinengine.cpp
parent20e207e4e4e3a68a11e46ce9b2b7e0ff5034f960 (diff)
using Uxtheme in modern too
git-svn-id: http://svn.miranda-ng.org/main/trunk@6143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinengine.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_skinengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_skinengine.cpp b/plugins/Clist_modern/src/modern_skinengine.cpp
index 3d45aaca75..e270ee4ba9 100644
--- a/plugins/Clist_modern/src/modern_skinengine.cpp
+++ b/plugins/Clist_modern/src/modern_skinengine.cpp
@@ -2978,7 +2978,7 @@ HICON ske_ImageList_GetIcon(HIMAGELIST himl, int i, UINT fStyle)
{
IMAGEINFO imi = {0};
BITMAP bm = {0};
- if ( IsWinVerXPPlus() && i != -1 )
+ if (i != -1)
{
ImageList_GetImageInfo(himl,i,&imi);
GetObject(imi.hbmImage,sizeof(bm),&bm);
@@ -4327,7 +4327,7 @@ HICON ske_CreateJoinedIcon(HICON hBottom, HICON hTop, BYTE alpha)
GetObject(iciTop.hbmColor,sizeof(BITMAP),&bmp_top);
GetObject(iciTop.hbmMask,sizeof(BITMAP),&bmp_top_mask);
- if (bmp_bottom.bmBitsPixel == 32 && bmp_top.bmBitsPixel == 32 && IsWinVerXPPlus())
+ if (bmp_bottom.bmBitsPixel == 32 && bmp_top.bmBitsPixel == 32)
{
BYTE * BottomBuffer, * TopBuffer, * BottomMaskBuffer, * TopMaskBuffer;
BYTE * bb, * tb, * bmb, * tmb;