diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-05-22 19:49:01 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-05-22 19:49:01 +0000 |
commit | a89887eb202c99ce09107668561abce6704f9004 (patch) | |
tree | ad16b7333f033ee98f02d342ba70ae5fca8030b5 /protocols/IcqOscarJ/src/editlist.cpp | |
parent | 1eb922f8075c53a1a8487045b096693bd27b56dd (diff) |
more replacements
git-svn-id: http://svn.miranda-ng.org/main/trunk@13762 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/editlist.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/editlist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/editlist.cpp b/protocols/IcqOscarJ/src/editlist.cpp index 03218b9836..da04c5efc1 100644 --- a/protocols/IcqOscarJ/src/editlist.cpp +++ b/protocols/IcqOscarJ/src/editlist.cpp @@ -115,8 +115,8 @@ void ChangeInfoData::BeginListEdit(int iItem, RECT *rc, int iSetting, WORD wVKey char str[MAX_PATH];
n = ListBoxAddStringUtf(hwndListEdit, list[j].text);
SendMessage(hwndListEdit, LB_SETITEMDATA, n, j);
- if ((si.dbType == DBVT_ASCIIZ && (!strcmpnull((char*)sid.value, list[j].text))
- || (si.dbType == DBVT_ASCIIZ && (!strcmpnull((char*)sid.value, ICQTranslateUtfStatic(list[j].text, str, MAX_PATH))))
+ if ((si.dbType == DBVT_ASCIIZ && (!mir_strcmp((char*)sid.value, list[j].text))
+ || (si.dbType == DBVT_ASCIIZ && (!mir_strcmp((char*)sid.value, ICQTranslateUtfStatic(list[j].text, str, MAX_PATH))))
|| ((char*)sid.value == NULL && list[j].code == 0))
|| (si.dbType != DBVT_ASCIIZ && sid.value == list[j].code))
SendMessage(hwndListEdit, LB_SETCURSEL, n, 0);
@@ -158,7 +158,7 @@ void ChangeInfoData::EndListEdit(int save) if (si.dbType == DBVT_ASCIIZ) {
char *szNewValue = pItem.text;
if (pItem.code || (si.displayType & LIF_ZEROISVALID)) {
- sid.changed = strcmpnull(szNewValue, (char*)sid.value);
+ sid.changed = mir_strcmp(szNewValue, (char*)sid.value);
SAFE_FREE((void**)&sid.value);
sid.value = (LPARAM)null_strdup(szNewValue);
}
|