diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-23 08:32:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-23 08:32:10 +0000 |
commit | e13abbf0f5a4bcef939e4e32e06a7e8e74e72465 (patch) | |
tree | 6620ea1f00a5506a1175344106014b00c1206c90 /plugins/Clist_modern/src/modern_skinengine.cpp | |
parent | 78a92aad0e3c2941b11b3115d9fd7aae44e5fc37 (diff) |
- 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
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinengine.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinengine.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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);
|