From 10bc9e42dfba6ed8be41199243d688c2e367dc0d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 30 Jun 2015 18:59:38 +0000 Subject: MS_CLIST_GETSTATUSMODEDESCRIPTION & MS_CLIST_GETCONTACTDISPLAYNAME replaced with pcli->* members git-svn-id: http://svn.miranda-ng.org/main/trunk@14459 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/parse_miranda.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Variables/src/parse_miranda.cpp') diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index d66ed6d3c1..8f76d91169 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -25,7 +25,7 @@ static TCHAR* parseCodeToStatus(ARGUMENTSINFO *ai) return NULL; unsigned int status = ttoi(ai->targv[1]); - TCHAR *szStatus = (TCHAR*)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, (WPARAM)status, GSMDF_TCHAR); + TCHAR *szStatus = pcli->pfnGetStatusModeDescription(status, 0); if (szStatus != NULL) return mir_tstrdup(szStatus); @@ -376,7 +376,7 @@ static TCHAR* parseLastSeenStatus(ARGUMENTSINFO *ai) if (status == 0) return NULL; - TCHAR *szStatus = (TCHAR*)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, (WPARAM)status, GSMDF_TCHAR); + TCHAR *szStatus = pcli->pfnGetStatusModeDescription(status, 0); if (szStatus != NULL) return mir_tstrdup(szStatus); @@ -407,7 +407,7 @@ static TCHAR* parseMyStatus(ARGUMENTSINFO *ai) else status = CallProtoService(_T2A(ai->targv[1]), PS_GETSTATUS, 0, 0); - TCHAR *szStatus = (TCHAR*)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, (WPARAM)status, GSMDF_TCHAR); + TCHAR *szStatus = pcli->pfnGetStatusModeDescription(status, 0); return (szStatus != NULL) ? mir_tstrdup(szStatus) : NULL; } @@ -700,7 +700,7 @@ static TCHAR *parseContactNameString(ARGUMENTSINFO *ai) return NULL; ai->flags |= AIF_DONTPARSE; - TCHAR *ret = (TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)ai->fi->hContact, GCDNF_TCHAR); + TCHAR *ret = (TCHAR*)pcli->pfnGetContactDisplayName(ai->fi->hContact, 0); return (ret == NULL) ? NULL : mir_tstrdup(ret); } -- cgit v1.2.3