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/Gadu-Gadu/src/gg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Gadu-Gadu/src/gg.h') diff --git a/protocols/Gadu-Gadu/src/gg.h b/protocols/Gadu-Gadu/src/gg.h index 4dc5f9bf3b..34e753122c 100644 --- a/protocols/Gadu-Gadu/src/gg.h +++ b/protocols/Gadu-Gadu/src/gg.h @@ -101,7 +101,7 @@ typedef struct { uin_t *recipients; int recipients_count; - TCHAR id[32]; + wchar_t id[32]; BOOL ignore; } GGGC; @@ -306,11 +306,11 @@ extern IconItem iconList[]; // Methods /* Helper functions */ -const TCHAR *http_error_string(int h); +const wchar_t *http_error_string(int h); unsigned long crc_get(char *mem); int gg_normalizestatus(int status); char *gg_status2db(int status, const char *suffix); -TCHAR *ws_strerror(int code); +wchar_t *ws_strerror(int code); char *as_strerror(int code); uint32_t swap32(uint32_t x); const char *gg_version2string(int v); @@ -329,7 +329,7 @@ void gg_links_instancemenu_init(); void gg_links_init(); #define UIN2IDA(uin,id) _itoa(uin,id,10) -#define UIN2IDT(uin,id) _itot(uin,id,10) +#define UIN2IDT(uin,id) _itow(uin,id,10) // Debug functions const char *ggdebug_eventtype(gg_event *e); -- cgit v1.2.3