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/Variables/src/parse_variables.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Variables/src/parse_variables.cpp') diff --git a/plugins/Variables/src/parse_variables.cpp b/plugins/Variables/src/parse_variables.cpp index bc19f44cfc..c54bbf6dce 100644 --- a/plugins/Variables/src/parse_variables.cpp +++ b/plugins/Variables/src/parse_variables.cpp @@ -24,7 +24,7 @@ static mir_cs csVarRegister; static VARIABLEREGISTER *vr = NULL; static int vrCount = 0; -static int addToVariablesRegister(TCHAR *szName, TCHAR *szText) +static int addToVariablesRegister(wchar_t *szName, wchar_t *szText) { if ((szName == NULL) || (szText == NULL) || (mir_tstrlen(szName) <= 0)) return -1; @@ -48,7 +48,7 @@ static int addToVariablesRegister(TCHAR *szName, TCHAR *szText) return 0; } -static TCHAR *searchVariableRegister(TCHAR *szName) +static wchar_t *searchVariableRegister(wchar_t *szName) { if ((szName == NULL) || (mir_tstrlen(szName) <= 0)) return NULL; @@ -61,7 +61,7 @@ static TCHAR *searchVariableRegister(TCHAR *szName) return NULL; } -static TCHAR *parsePut(ARGUMENTSINFO *ai) +static wchar_t *parsePut(ARGUMENTSINFO *ai) { if (ai->argc != 3) return NULL; @@ -77,7 +77,7 @@ static TCHAR *parsePut(ARGUMENTSINFO *ai) return formatString(&fi); } -static TCHAR *parsePuts(ARGUMENTSINFO *ai) +static wchar_t *parsePuts(ARGUMENTSINFO *ai) { if (ai->argc != 3) return NULL; @@ -88,7 +88,7 @@ static TCHAR *parsePuts(ARGUMENTSINFO *ai) return mir_tstrdup(L""); } -static TCHAR *parseGet(ARGUMENTSINFO *ai) +static wchar_t *parseGet(ARGUMENTSINFO *ai) { if (ai->argc != 2) return NULL; -- cgit v1.2.3