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 --- plugins/SmileyAdd/src/stdafx.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/SmileyAdd/src/stdafx.h') diff --git a/plugins/SmileyAdd/src/stdafx.h b/plugins/SmileyAdd/src/stdafx.h index 3f9d130e8e..4599a5a6f3 100644 --- a/plugins/SmileyAdd/src/stdafx.h +++ b/plugins/SmileyAdd/src/stdafx.h @@ -120,7 +120,7 @@ int UpdateSrmmDlg(WPARAM wParam, LPARAM lParam); //functions for general use (defined in general.cpp) int CalculateTextHeight(HDC hdc, CHARFORMAT2 *chf); -const TCHAR* GetImageExt(CMString &fname); +const wchar_t* GetImageExt(CMString &fname); MCONTACT DecodeMetaContact(MCONTACT hContact); bool IsSmileyProto(char *proto); @@ -133,7 +133,7 @@ void pathToAbsolute(const CMString &pSrc, CMString &pOut); bool InitGdiPlus(void); void DestroyGdiPlus(void); -void ReportError(const TCHAR *errmsg); +void ReportError(const wchar_t *errmsg); HICON GetDefaultIcon(bool copy = true); void CloseRichCallback(HWND hwnd); @@ -144,7 +144,7 @@ void ProcessAllInputAreas(bool restoreText); void RichEditData_Destroy(void); void CloseSmileys(void); -int CheckForTip(int x, int y, HWND hwnd, TCHAR **smltxt); +int CheckForTip(int x, int y, HWND hwnd, wchar_t **smltxt); void UrlDecode(char *str); -- cgit v1.2.3