From c0274fa5abfcfb59a4c8ae4d113d705ea0272c4c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 3 Sep 2018 18:25:42 +0300 Subject: popup code cleaning --- plugins/Ping/src/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Ping/src') diff --git a/plugins/Ping/src/utils.cpp b/plugins/Ping/src/utils.cpp index 58111c7f15..b94fe07bce 100644 --- a/plugins/Ping/src/utils.cpp +++ b/plugins/Ping/src/utils.cpp @@ -312,10 +312,10 @@ void InitUtils() hIconDisabled = IcoLib_GetIcon("ping_disabled"); POPUPCLASS test = { sizeof(test) }; - test.flags = PCF_TCHAR; + test.flags = PCF_UNICODE; test.hIcon = hIconResponding; test.iSeconds = -1; - test.pwszDescription = TranslateT("Ping"); + test.pszDescription.w = TranslateT("Ping"); test.pszName = "pingpopups"; test.PluginWindowProc = NullWindowProc; if (hPopupClass = Popup_RegisterClass(&test)) -- cgit v1.2.3