From 3f9882178018afbe9aaaba1f4461f3fc75493260 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 15 Jun 2015 14:23:02 +0000 Subject: MS_SKIN_LOADICON & MS_SKIN_LOADPROTOICON replaced with direct function calls git-svn-id: http://svn.miranda-ng.org/main/trunk@14176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/utils.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'protocols/WhatsApp') diff --git a/protocols/WhatsApp/src/utils.cpp b/protocols/WhatsApp/src/utils.cpp index 652a9c7c4a..6d7e77b15a 100644 --- a/protocols/WhatsApp/src/utils.cpp +++ b/protocols/WhatsApp/src/utils.cpp @@ -46,13 +46,13 @@ std::string getLastErrorMsg() void utils::setStatusMessage(MCONTACT hContact, const TCHAR *ptszMessage) { if (ptszMessage != NULL) { - StatusTextData st = { 0 }; - st.cbSize = sizeof(st); - st.hIcon = LoadSkinnedIcon(SKINICON_EVENT_MESSAGE); - _tcsncpy_s(st.tszText, ptszMessage, _TRUNCATE); - CallService(MS_MSG_SETSTATUSTEXT, hContact, (LPARAM)&st); - } - else CallService(MS_MSG_SETSTATUSTEXT, hContact, NULL); + StatusTextData st = { 0 }; + st.cbSize = sizeof(st); + st.hIcon = Skin_LoadIcon(SKINICON_EVENT_MESSAGE); + _tcsncpy_s(st.tszText, ptszMessage, _TRUNCATE); + CallService(MS_MSG_SETSTATUSTEXT, hContact, (LPARAM)&st); + } + else CallService(MS_MSG_SETSTATUSTEXT, hContact, NULL); } BYTE* utils::md5string(const BYTE *data, int size, BYTE *digest) -- cgit v1.2.3