From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: less TCHARs: - TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_popups.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_popups.cpp') diff --git a/protocols/SkypeWeb/src/skype_popups.cpp b/protocols/SkypeWeb/src/skype_popups.cpp index 49a7b40d60..65e5bb3487 100644 --- a/protocols/SkypeWeb/src/skype_popups.cpp +++ b/protocols/SkypeWeb/src/skype_popups.cpp @@ -2,7 +2,7 @@ void CSkypeProto::InitPopups() { - TCHAR desc[256]; + wchar_t desc[256]; char name[256]; POPUPCLASS ppc = { sizeof(ppc) }; ppc.flags = PCF_TCHAR; @@ -47,7 +47,7 @@ void CSkypeProto::UninitPopups() } } -void CSkypeProto::ShowNotification(const TCHAR *caption, const TCHAR *message, MCONTACT hContact, int type) +void CSkypeProto::ShowNotification(const wchar_t *caption, const wchar_t *message, MCONTACT hContact, int type) { if (Miranda_Terminated()) return; @@ -75,8 +75,8 @@ void CSkypeProto::ShowNotification(const TCHAR *caption, const TCHAR *message, M } POPUPDATACLASS ppd = { sizeof(ppd) }; - ppd.ptszTitle = caption; - ppd.ptszText = message; + ppd.pwszTitle = caption; + ppd.pwszText = message; ppd.pszClassName = className.GetBuffer(); ppd.hContact = hContact; @@ -88,7 +88,7 @@ void CSkypeProto::ShowNotification(const TCHAR *caption, const TCHAR *message, M } } -void CSkypeProto::ShowNotification(const TCHAR *message, MCONTACT hContact) +void CSkypeProto::ShowNotification(const wchar_t *message, MCONTACT hContact) { ShowNotification(_T(MODULE), message, hContact); } -- cgit v1.2.3