diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-12-12 08:21:24 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-12-12 08:21:24 +0000 |
commit | 09a54576390417d41ae37b574047466b260cfd72 (patch) | |
tree | bb8befa4dec07838a6034d8f4436dd0eb73cd76b | |
parent | feec253c61b5902fd68daa6e31e8df4700cfde72 (diff) |
ClientChangeNotify: Better version of r15636 as these variables can't be null anyway
git-svn-id: http://svn.miranda-ng.org/main/trunk@15841 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/ClientChangeNotify/src/ClientChangeNotify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp index 149ee23bdb..b405abede2 100644 --- a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp +++ b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp @@ -234,7 +234,7 @@ int ContactSettingChanged(WPARAM hContact, LPARAM lParam) LPCTSTR ptszOldClient = Finger_GetClientDescr(sd.OldMirVer);
LPCTSTR ptszClient = Finger_GetClientDescr(sd.MirVer);
if (ptszOldClient && ptszClient) {
- if (PerContactSetting != NOTIFY_ALMOST_ALWAYS && PerContactSetting != NOTIFY_ALWAYS && !PopupOptPage.GetValue(IDC_POPUPOPTDLG_VERCHGNOTIFY) && !mir_tstrcmp(ptszClient, ptszOldClient))
+ if (PerContactSetting != NOTIFY_ALMOST_ALWAYS && PerContactSetting != NOTIFY_ALWAYS && !PopupOptPage.GetValue(IDC_POPUPOPTDLG_VERCHGNOTIFY) && !_tcscmp(ptszClient, ptszOldClient))
return 0;
if (!PopupOptPage.GetValue(IDC_POPUPOPTDLG_SHOWVER)) {
|