From e0e9dd5f90f4f5be48a439b310802c4b7443db0b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 20 Sep 2013 18:40:36 +0000 Subject: using Uxtheme git-svn-id: http://svn.miranda-ng.org/main/trunk@6141 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/Flags/svc_flagsicons.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'plugins/UserInfoEx/src/Flags') diff --git a/plugins/UserInfoEx/src/Flags/svc_flagsicons.cpp b/plugins/UserInfoEx/src/Flags/svc_flagsicons.cpp index c18583930d..0e82631427 100644 --- a/plugins/UserInfoEx/src/Flags/svc_flagsicons.cpp +++ b/plugins/UserInfoEx/src/Flags/svc_flagsicons.cpp @@ -302,14 +302,7 @@ void InitIcons() if (NULL == (dib = LoadResource(IDB_FLAGSPNG,_T("PNG")))) return; - if (IsWinVerXPPlus()) bitDest = bit = ILC_COLOR32; - else if (IsWinVer2000Plus()) bitDest = ILC_COLOR24; - else if (IsWinVerMEPlus()) bitDest = ILC_COLOR16; - /*else preset bitDest = ILC_COLOR8;*/ - - //we work always with 24bit if bitDest < xp+ - //coz we cannot perform paste operations between palettized images, - //unless both src and dst images use the same palette. + bitDest = bit = ILC_COLOR32; if (FIP->FI_GetBPP(dib) != bit) if (NULL == (dib = ConvertTo(dib, bit, 0))) return; -- cgit v1.2.3