From e13abbf0f5a4bcef939e4e32e06a7e8e74e72465 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 23 Apr 2013 08:32:10 +0000 Subject: - clist_modern switched to the core wildcmp[i] functions - fixed chinese in skin options git-svn-id: http://svn.miranda-ng.org/main/trunk@4512 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_skinengine.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Clist_modern/src/modern_skinengine.cpp') diff --git a/plugins/Clist_modern/src/modern_skinengine.cpp b/plugins/Clist_modern/src/modern_skinengine.cpp index d8b90a6ca8..b4d2768a98 100644 --- a/plugins/Clist_modern/src/modern_skinengine.cpp +++ b/plugins/Clist_modern/src/modern_skinengine.cpp @@ -184,9 +184,9 @@ HRESULT IniParser::WriteStrToDb( const char * szSection, const char * szName, co if ( This->_SecCheck) { //TODO check security here - if ( wildcmp( szSection,"Skin_Description_Section",1 )) return S_OK; + if ( wildcmp( szSection,"Skin_Description_Section")) return S_OK; } - if (( This->_Flags == IniParser::FLAG_ONLY_OBJECTS ) && !wildcmp( szSection, DEFAULTSKINSECTION,1 )) + if (( This->_Flags == IniParser::FLAG_ONLY_OBJECTS ) && !wildcmp( szSection, DEFAULTSKINSECTION)) return S_OK; // skip not objects @@ -1819,7 +1819,7 @@ static HBITMAP ske_LoadGlyphImage_TGA(const TCHAR *szFilename) BOOL err = FALSE; tga_header_t header; if ( !szFilename) return NULL; - if ( !wildcmpi(szFilename, _T("*\\*%.tga"))) { + if ( !wildcmpit(szFilename, _T("*\\*%.tga"))) { //Loading TGA image from file FILE *fp = _tfopen (szFilename, _T("rb")); if ( !fp) { @@ -2001,7 +2001,7 @@ static HBITMAP ske_LoadGlyphImageByDecoders(const TCHAR *tszFileName) static HBITMAP ske_skinLoadGlyphImage(const TCHAR *tszFileName) { - if ( !g_CluiData.fGDIPlusFail && !wildcmpi(tszFileName, _T("*.tga"))) + if ( !g_CluiData.fGDIPlusFail && !wildcmpit(tszFileName, _T("*.tga"))) return GDIPlus_LoadGlyphImage(tszFileName); return ske_LoadGlyphImageByDecoders(tszFileName); -- cgit v1.2.3