From 1ce3da1cca093143d9629bc46e221dd8be962e12 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 31 May 2015 11:46:05 +0000 Subject: - MAllStrings: a handy union to hold an incoming string parameter of any type; - FNAMECHAR: atavism extincted; - PROTOSEARCHRESULT: structure prepared to use results of any type, including utf git-svn-id: http://svn.miranda-ng.org/main/trunk@13932 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AssocMgr/src/test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/AssocMgr') diff --git a/plugins/AssocMgr/src/test.cpp b/plugins/AssocMgr/src/test.cpp index 5640a5ce18..8b3593e89d 100644 --- a/plugins/AssocMgr/src/test.cpp +++ b/plugins/AssocMgr/src/test.cpp @@ -117,7 +117,7 @@ static int ServiceParseAimLink(WPARAM,LPARAM lParam) acs.psr=&psr; memset(&psr, 0, sizeof(PROTOSEARCHRESULT)); psr.cbSize=sizeof(PROTOSEARCHRESULT); - psr.nick=sn; + psr.nick.t=sn; CallService(MS_ADDCONTACT_SHOW,0,(LPARAM)&acs); } return 0; @@ -436,7 +436,7 @@ static int ServiceParseYmsgrLink(WPARAM wParam,LPARAM lParam) acs.psr=&psr; memset(&psr, 0, sizeof(PROTOSEARCHRESULT)); psr.cbSize=sizeof(PROTOSEARCHRESULT); - psr.nick=id; + psr.nick.t=id; CallService(MS_ADDCONTACT_SHOW,0,(LPARAM)&acs); } return 0; @@ -551,8 +551,8 @@ static int ServiceParseMsnimLink(WPARAM wParam,LPARAM lParam) acs.psr=&psr; memset(&psr, 0, sizeof(PROTOSEARCHRESULT)); psr.cbSize=sizeof(PROTOSEARCHRESULT); - psr.nick=email; - psr.email=email; + psr.nick.t=email; + psr.email.t=email; CallService(MS_ADDCONTACT_SHOW,0,(LPARAM)&acs); } return 0; @@ -746,7 +746,7 @@ static int ServiceParseXmppURI(WPARAM wParam,LPARAM lParam) acs.psr=&psr; memset(&psr, 0, sizeof(PROTOSEARCHRESULT)); psr.cbSize=sizeof(PROTOSEARCHRESULT); - psr.nick=jid; + psr.nick.t=jid; CallService(MS_ADDCONTACT_SHOW,0,(LPARAM)&acs); } return 0; -- cgit v1.2.3