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_clistsettings.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_clistsettings.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clistsettings.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/Clist_modern/src/modern_clistsettings.cpp b/plugins/Clist_modern/src/modern_clistsettings.cpp index 3d259999f8..c9491636b9 100644 --- a/plugins/Clist_modern/src/modern_clistsettings.cpp +++ b/plugins/Clist_modern/src/modern_clistsettings.cpp @@ -409,10 +409,10 @@ int ContactSettingChanged(WPARAM hContact, LPARAM lParam) return 0;
DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING*)lParam;
- if (!strcmp(cws->szModule, pdnce->m_cache_cszProto)) {
+ if (!mir_strcmp(cws->szModule, pdnce->m_cache_cszProto)) {
InvalidateDNCEbyPointer(hContact, pdnce, cws->value.type);
- if (!strcmp(cws->szSetting, "IsSubcontact"))
+ if (!mir_strcmp(cws->szSetting, "IsSubcontact"))
pcli->pfnInitAutoRebuild(pcli->hwndContactTree);
if (!mir_strcmp(cws->szSetting, "Status") || wildcmp(cws->szSetting, "Status?")) {
@@ -449,18 +449,18 @@ int ContactSettingChanged(WPARAM hContact, LPARAM lParam) }
}
- if (!strcmp(cws->szModule, "CList")) {
+ if (!mir_strcmp(cws->szModule, "CList")) {
//name is null or (setting is myhandle)
- if (!strcmp(cws->szSetting, "Rate"))
+ if (!mir_strcmp(cws->szSetting, "Rate"))
pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0);
- else if (pdnce->tszName == NULL || !strcmp(cws->szSetting, "MyHandle"))
+ else if (pdnce->tszName == NULL || !mir_strcmp(cws->szSetting, "MyHandle"))
InvalidateDNCEbyPointer(hContact, pdnce, cws->value.type);
- else if (!strcmp(cws->szSetting, "Group"))
+ else if (!mir_strcmp(cws->szSetting, "Group"))
InvalidateDNCEbyPointer(hContact, pdnce, cws->value.type);
- else if (!strcmp(cws->szSetting, "Hidden")) {
+ else if (!mir_strcmp(cws->szSetting, "Hidden")) {
InvalidateDNCEbyPointer(hContact, pdnce, cws->value.type);
if (cws->value.type == DBVT_DELETED || cws->value.bVal == 0) {
char *szProto = GetContactProto(hContact);
@@ -469,13 +469,13 @@ int ContactSettingChanged(WPARAM hContact, LPARAM lParam) }
pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0);
}
- else if (!strcmp(cws->szSetting, "noOffline")) {
+ else if (!mir_strcmp(cws->szSetting, "noOffline")) {
InvalidateDNCEbyPointer(hContact, pdnce, cws->value.type);
pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0);
}
}
- else if (!strcmp(cws->szModule, "Protocol")) {
- if (!strcmp(cws->szSetting, "p")) {
+ else if (!mir_strcmp(cws->szModule, "Protocol")) {
+ if (!mir_strcmp(cws->szSetting, "p")) {
InvalidateDNCEbyPointer(hContact, pdnce, cws->value.type);
char *szProto = (cws->value.type == DBVT_DELETED) ? NULL : cws->value.pszVal;
cli_ChangeContactIcon(hContact, pcli->pfnIconFromStatusMode(szProto,
|