summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src/Properties.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-02-23 21:28:06 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-02-23 21:28:06 +0000
commita8a5cfd818bcf099c5a0f5bd018d1d596a0d533b (patch)
tree10099d3253e06d291263553e587945991f89aaa9 /plugins/NewAwaySysMod/src/Properties.cpp
parent5324ca994e91397adba4e620fe31459dc86e2e75 (diff)
-minor fixes for NewAwaySystem
git-svn-id: http://svn.miranda-ng.org/main/trunk@8239 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewAwaySysMod/src/Properties.cpp')
-rw-r--r--plugins/NewAwaySysMod/src/Properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewAwaySysMod/src/Properties.cpp b/plugins/NewAwaySysMod/src/Properties.cpp
index f0721d3088..ce7adf0ebd 100644
--- a/plugins/NewAwaySysMod/src/Properties.cpp
+++ b/plugins/NewAwaySysMod/src/Properties.cpp
@@ -37,7 +37,7 @@ void ResetSettingsOnStatusChange(const char *szProto = NULL, int bResetPersonalM
MCONTACT hContact = db_find_first();
while (hContact) {
const char *szCurProto;
- if (!szProto || ((szCurProto = (const char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0)) && !lstrcmpA(szProto, szCurProto))) {
+ if (!szProto || ((szCurProto = GetContactProto(hContact)) && !lstrcmpA(szProto, szCurProto))) {
ResetContactSettingsOnStatusChange(hContact);
if (bResetPersonalMsgs) {
CContactSettings(Status, hContact).SetMsgFormat(SMF_PERSONAL, NULL); // TODO: delete only when SAM dialog opens?