diff options
author | George Hazan <george.hazan@gmail.com> | 2014-11-30 20:25:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-11-30 20:25:58 +0000 |
commit | ce2d4f19e3f810b282eb7d47d470d426ff459e1f (patch) | |
tree | a49f3e9dd42399756b2ce33a3d91caec535b77ab /plugins/Clist_modern/src/modern_skinengine.cpp | |
parent | 1bb83288c063ce1864e46f6f675751c8c631b530 (diff) |
mir_strcmp, mir_strcmpi, mir_wstrcmp, mir_wstrcmpi
git-svn-id: http://svn.miranda-ng.org/main/trunk@11179 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 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_skinengine.cpp b/plugins/Clist_modern/src/modern_skinengine.cpp index 837610d0bc..7f5728783f 100644 --- a/plugins/Clist_modern/src/modern_skinengine.cpp +++ b/plugins/Clist_modern/src/modern_skinengine.cpp @@ -1412,7 +1412,7 @@ static int ske_DrawSkinObject(SKINDRAWREQUEST * preq, GLYPHOBJECT * pobj) { SKINFONT * sf; sf = (SKINFONT*)gl_plSkinFonts->items[j]; - if (sf->szFontID && !strcmp(sf->szFontID,gt->szFontID)) + if (sf->szFontID && !mir_strcmp(sf->szFontID,gt->szFontID)) { gt->hFont = sf->hFont; break; @@ -2062,7 +2062,10 @@ static void RegisterMaskByParce(const char * szSetting, char * szValue, SKINOBJE { int i; DWORD ID=atoi(szSetting+1); - for (i=0; i < mir_strlen(szValue); i++) if (szValue[i] == ':') break; + for (i=0; i < mir_strlen(szValue); i++) + if (szValue[i] == ':') + break; + if (i < mir_strlen(szValue)) { char * Obj, *Mask; @@ -2104,7 +2107,7 @@ static int ske_enumdb_SkinObjectsProc (const char *szSetting,LPARAM lParam) static int ske_SortTextGlyphObjectFunc(void * first, void * second) { - return strcmp(((GLYPHTEXT*)(((int*)first)[0]))->szGlyphTextID,((GLYPHTEXT*)(((int*)second)[0]))->szGlyphTextID); + return mir_strcmp(((GLYPHTEXT*)(((int*)first)[0]))->szGlyphTextID,((GLYPHTEXT*)(((int*)second)[0]))->szGlyphTextID); } static void ske_LinkSkinObjects(SKINOBJECTSLIST * pObjectList) |