summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_skinengine.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:56:56 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:56:56 +0000
commit2136c7efff71099e8ad1fc2196cd973f2316bc03 (patch)
tree8633b70fe927baaa614febcfe670303070ffcf6b /plugins/Clist_modern/src/modern_skinengine.cpp
parent7cfd634814762a3cd8a22fce9a4ec6d47bb8f536 (diff)
self strcmp function replaced by core function
git-svn-id: http://svn.miranda-ng.org/main/trunk@13755 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinengine.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_skinengine.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_modern/src/modern_skinengine.cpp b/plugins/Clist_modern/src/modern_skinengine.cpp
index ed4f9f5b1f..6e810d7fc4 100644
--- a/plugins/Clist_modern/src/modern_skinengine.cpp
+++ b/plugins/Clist_modern/src/modern_skinengine.cpp
@@ -1306,7 +1306,7 @@ static int ske_DrawSkinObject(SKINDRAWREQUEST * preq, GLYPHOBJECT * pobj)
int ske_AddDescriptorToSkinObjectList(LPSKINOBJECTDESCRIPTOR lpDescr, SKINOBJECTSLIST* Skin)
{
SKINOBJECTSLIST *sk = (Skin ? Skin : &g_SkinObjectList);
- if (mir_bool_strcmpi(lpDescr->szObjectID, "_HEADER_"))
+ if (mir_strcmpi(lpDescr->szObjectID, "_HEADER_"))
return 0;
//check if new object allready presents.
for (DWORD i = 0; i < sk->dwObjLPAlocated; i++)
@@ -1675,16 +1675,16 @@ static HBITMAP ske_LoadGlyphImageByDecoders(const TCHAR *tszFileName)
if (!_tcschr(tszFileName, '%') && !PathFileExists(tszFileName))
return NULL;
- if (mir_bool_tstrcmpi(ext, _T(".tga"))) {
+ if (mir_tstrcmpi(ext, _T(".tga"))) {
hBitmap = ske_LoadGlyphImage_TGA(tszFileName);
f = 1;
}
- else if (ServiceExists("Image/Png2Dib") && mir_bool_tstrcmpi(ext, _T(".png"))) {
+ else if (ServiceExists("Image/Png2Dib") && mir_tstrcmpi(ext, _T(".png"))) {
hBitmap = ske_LoadGlyphImage_Png2Dib(tszFileName);
GetObject(hBitmap, sizeof(BITMAP), &bmpInfo);
f = (bmpInfo.bmBits != NULL);
}
- else if (!mir_bool_tstrcmpi(ext, _T(".png"))) {
+ else if (!mir_tstrcmpi(ext, _T(".png"))) {
hBitmap = (HBITMAP)CallService(MS_UTILS_LOADBITMAPT, 0, (LPARAM)tszFileName);
}
@@ -1729,7 +1729,7 @@ HBITMAP ske_LoadGlyphImage(const TCHAR *tszFileName)
if (pLoadedImages) {
for (DWORD i = 0; i < dwLoadedImagesCount; i++) {
- if (mir_bool_tstrcmpi(pLoadedImages[i].szFileName, szFile)) {
+ if (mir_tstrcmpi(pLoadedImages[i].szFileName, szFile)) {
pLoadedImages[i].dwLoadedTimes++;
return pLoadedImages[i].hGlyph;
}