From 4b99b5b4abad1cf12ac5c7bbb8788899ba6a48ab Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 9 Jul 2018 13:03:28 +0300 Subject: massive Variables-related code cleaning (removed TCHAR, manually created unions replaced with MAllString etc) --- plugins/BossKeyPlus/src/BossKey.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/BossKeyPlus') diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp index 486132ee28..01b2d15ea0 100644 --- a/plugins/BossKeyPlus/src/BossKey.cpp +++ b/plugins/BossKeyPlus/src/BossKey.cpp @@ -662,8 +662,8 @@ static int MirandaLoaded(WPARAM, LPARAM) tr.memType = TR_MEM_OWNER; tr.flags = TRF_FIELD | TRF_TCHAR | TRF_PARSEFUNC; - tr.tszTokenString = L"bosskeyname"; - tr.parseFunctionT = VariablesBossKey; + tr.szTokenString.w = L"bosskeyname"; + tr.parseFunctionW = VariablesBossKey; tr.szHelpText = LPGEN("BossKey") "\t" LPGEN("get the BossKey name"); CallService(MS_VARS_REGISTERTOKEN, 0, (LPARAM)&tr); } -- cgit v1.2.3