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/MirFox/src/MirandaInterface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/MirFox/src') diff --git a/plugins/MirFox/src/MirandaInterface.cpp b/plugins/MirFox/src/MirandaInterface.cpp index 09cb05058a..f72400a2f6 100644 --- a/plugins/MirFox/src/MirandaInterface.cpp +++ b/plugins/MirFox/src/MirandaInterface.cpp @@ -95,10 +95,10 @@ static int onModulesLoaded(WPARAM, LPARAM) //init popup classes POPUPCLASS puc = { 0 }; puc.cbSize = sizeof(puc); - puc.flags = PCF_TCHAR; + puc.flags = PCF_UNICODE; puc.pszName = "MirFox_Notify"; - puc.pwszDescription = TranslateT("MirFox/Notification"); + puc.pszDescription.w = TranslateT("MirFox/Notification"); puc.colorBack = RGB(173, 206, 247); //light blue puc.colorText = GetSysColor(COLOR_WINDOWTEXT); puc.iSeconds = 3; @@ -106,7 +106,7 @@ static int onModulesLoaded(WPARAM, LPARAM) hPopupNotify = Popup_RegisterClass(&puc); puc.pszName = "MirFox_Error"; - puc.pwszDescription = TranslateT("MirFox/Error"); + puc.pszDescription.w = TranslateT("MirFox/Error"); puc.colorBack = RGB(255, 128, 128); //light red puc.colorText = GetSysColor(COLOR_WINDOWTEXT); puc.iSeconds = 20; -- cgit v1.2.3