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/MirLua/src/m_icolib.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/MirLua/src/m_icolib.cpp') diff --git a/plugins/MirLua/src/m_icolib.cpp b/plugins/MirLua/src/m_icolib.cpp index 019d1ccf25..8827cc749c 100644 --- a/plugins/MirLua/src/m_icolib.cpp +++ b/plugins/MirLua/src/m_icolib.cpp @@ -9,16 +9,16 @@ static int icolib_AddIcon(lua_State *L) if (filePath == NULL) { - filePath = (TCHAR*)mir_calloc(MAX_PATH + 1); + filePath = (wchar_t*)mir_calloc(MAX_PATH + 1); GetModuleFileName(g_hInstance, filePath, MAX_PATH); } SKINICONDESC si = { 0 }; si.flags = SIDF_ALL_TCHAR; si.pszName = mir_utf8decodeA(name); - si.description.t = description; - si.section.t = section; - si.defaultFile.t = filePath; + si.description.w = description; + si.section.w = section; + si.defaultFile.w = filePath; si.hDefaultIcon = GetIcon(IDI_SCRIPT); int hScriptLangpack = CMLuaScript::GetScriptIdFromEnviroment(L); -- cgit v1.2.3