summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/ReadAwayMsg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-05-19 17:35:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-05-19 17:35:44 +0000
commite7a776a6f5ab323cd9dd824e815846ef268fa7f1 (patch)
treeda04a8498aa225d511d53cd7da66ed5d773cbab3 /plugins/NewAwaySysMod/ReadAwayMsg.cpp
parentdd61627f93d5f40f530fa71b827716afa3c7c79e (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@82 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewAwaySysMod/ReadAwayMsg.cpp')
-rw-r--r--plugins/NewAwaySysMod/ReadAwayMsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewAwaySysMod/ReadAwayMsg.cpp b/plugins/NewAwaySysMod/ReadAwayMsg.cpp
index c5524911c1..925271326d 100644
--- a/plugins/NewAwaySysMod/ReadAwayMsg.cpp
+++ b/plugins/NewAwaySysMod/ReadAwayMsg.cpp
@@ -69,7 +69,7 @@ static INT_PTR CALLBACK ReadAwayMsgDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam
TCHAR *status, *contactName;
contactName = (TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)awayData->hContact, GCDNF_TCHAR);
char *szProto = (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)awayData->hContact, 0);
- status = (TCHAR*)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, DBGetContactSettingWord(awayData->hContact, szProto, "Status", ID_STATUS_OFFLINE), GCMDF_TCHAR);
+ status = (TCHAR*)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, DBGetContactSettingWord(awayData->hContact, szProto, "Status", ID_STATUS_OFFLINE), GSMDF_TCHAR);
GetWindowText(hwndDlg, format, lengthof(format));
_sntprintf(str, lengthof(str), format, status, contactName);
SetWindowText(hwndDlg, str);