From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Ping/src/ping.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Ping/src/ping.cpp') diff --git a/plugins/Ping/src/ping.cpp b/plugins/Ping/src/ping.cpp index 63972b536f..9533ff3d83 100644 --- a/plugins/Ping/src/ping.cpp +++ b/plugins/Ping/src/ping.cpp @@ -115,7 +115,7 @@ int OnModulesLoaded(WPARAM, LPARAM) graphs_init(); - if (options.logging) CallService(PLUG "/Log", (WPARAM)_T("start"), 0); + if (options.logging) CallService(PLUG "/Log", (WPARAM)L"start", 0); return 0; } @@ -137,7 +137,7 @@ extern "C" __declspec(dllexport) int Load(void) db_set_b(0, PLUG, "UsingRawSockets", (BYTE)use_raw_ping); DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &mainThread, THREAD_SET_CONTEXT, FALSE, 0); - hWakeEvent = CreateEvent(NULL, FALSE, FALSE, _T("Local\\ThreadWaitEvent")); + hWakeEvent = CreateEvent(NULL, FALSE, FALSE, L"Local\\ThreadWaitEvent"); // create services before loading options - so we can have the 'getlogfilename' service! CreatePluginServices(); @@ -166,7 +166,7 @@ extern "C" __declspec(dllexport) int Unload(void) CloseHandle(mainThread); - if (options.logging) CallService(PLUG "/Log", (WPARAM)_T("stop"), 0); + if (options.logging) CallService(PLUG "/Log", (WPARAM)L"stop", 0); return 0; } -- cgit v1.2.3