From 2f261839b60692e33d0e160344d0d636d49c90ba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jul 2016 14:23:31 +0000 Subject: less TCHARs git-svn-id: http://svn.miranda-ng.org/main/trunk@17138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_sounds.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/MirLua/src/m_sounds.cpp') diff --git a/plugins/MirLua/src/m_sounds.cpp b/plugins/MirLua/src/m_sounds.cpp index cd31adfe76..0291515ee7 100644 --- a/plugins/MirLua/src/m_sounds.cpp +++ b/plugins/MirLua/src/m_sounds.cpp @@ -3,9 +3,9 @@ static int sounds_AddSound(lua_State *L) { ptrA name(mir_utf8decodeA(luaL_checkstring(L, 1))); - ptrT description(mir_utf8decodeT(luaL_checkstring(L, 2))); - ptrT section(mir_utf8decodeT(luaL_optstring(L, 3, MODULE))); - ptrT filePath(mir_utf8decodeT(lua_tostring(L, 4))); + ptrW description(mir_utf8decodeW(luaL_checkstring(L, 2))); + ptrW section(mir_utf8decodeW(luaL_optstring(L, 3, MODULE))); + ptrW filePath(mir_utf8decodeW(lua_tostring(L, 4))); SKINSOUNDDESCEX ssd = { sizeof(SKINSOUNDDESCEX) }; ssd.pszName = name; @@ -34,7 +34,7 @@ static int sounds_PlaySound(lua_State *L) static int sounds_PlayFile(lua_State *L) { - ptrT filePath(mir_utf8decodeT(luaL_checkstring(L, 1))); + ptrW filePath(mir_utf8decodeW(luaL_checkstring(L, 1))); INT_PTR res = SkinPlaySoundFile(filePath); lua_pushboolean(L, res == 0); -- cgit v1.2.3