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/Ping/src/stdafx.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Ping/src/stdafx.h') diff --git a/plugins/Ping/src/stdafx.h b/plugins/Ping/src/stdafx.h index 746a2d596b..1e92a443d8 100644 --- a/plugins/Ping/src/stdafx.h +++ b/plugins/Ping/src/stdafx.h @@ -56,7 +56,7 @@ typedef struct { int ping_period, ping_timeout; bool show_popup, show_popup2, block_reps, logging; - TCHAR log_filename[MAX_PATH]; + wchar_t log_filename[MAX_PATH]; bool no_test_icon; int row_height; int indent; @@ -83,16 +83,16 @@ typedef LinkedList< HistPair > HistoryList; struct PINGADDRESS { int cbSize; //size in bytes of this structure DWORD item_id; - TCHAR pszName[MAX_PINGADDRESS_STRING_LENGTH]; //IP address or domain name - TCHAR pszLabel[MAX_PINGADDRESS_STRING_LENGTH]; + wchar_t pszName[MAX_PINGADDRESS_STRING_LENGTH]; //IP address or domain name + wchar_t pszLabel[MAX_PINGADDRESS_STRING_LENGTH]; bool responding; int status; short round_trip_time; int miss_count; int port; // -1 for ICMP, non-zero for TCP char pszProto[MAX_PINGADDRESS_STRING_LENGTH]; - TCHAR pszCommand[MAX_PATH]; - TCHAR pszParams[MAX_PATH]; + wchar_t pszCommand[MAX_PATH]; + wchar_t pszParams[MAX_PATH]; unsigned int get_status; // on success, if status equals this unsigned int set_status; // set it to this int index; -- cgit v1.2.3