diff options
Diffstat (limited to 'protocols/IcqOscarJ/src/editstring.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/editstring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/editstring.cpp b/protocols/IcqOscarJ/src/editstring.cpp index b73ae9e6a5..f792660d52 100644 --- a/protocols/IcqOscarJ/src/editstring.cpp +++ b/protocols/IcqOscarJ/src/editstring.cpp @@ -309,8 +309,8 @@ void ChangeInfoData::EndStringEdit(int save) text = GetWindowTextUtf(hwndEdit);
EscapesToBinary(text);
}
- if ((si.displayType & LIF_PASSWORD && strcmpnull(text, " ")) ||
- (!(si.displayType & LIF_PASSWORD) && strcmpnull(text, (char*)sid.value) && (mir_strlen(text) + mir_strlen((char*)sid.value)))) {
+ if ((si.displayType & LIF_PASSWORD && mir_strcmp(text, " ")) ||
+ (!(si.displayType & LIF_PASSWORD) && mir_strcmp(text, (char*)sid.value) && (mir_strlen(text) + mir_strlen((char*)sid.value)))) {
SAFE_FREE((void**)&sid.value);
if (mir_strlen(text))
sid.value = (LPARAM)text;
|