summaryrefslogtreecommitdiff
path: root/plugins/MirFox/src/MirandaInterface.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-09-03 18:25:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-09-03 18:25:42 +0300
commitc0274fa5abfcfb59a4c8ae4d113d705ea0272c4c (patch)
treed8eda62b1e94d67f84a121295a3cb8f68b01849e /plugins/MirFox/src/MirandaInterface.cpp
parent4db67c1a255bf379e63641eff1f3527ea6aa2759 (diff)
popup code cleaning
Diffstat (limited to 'plugins/MirFox/src/MirandaInterface.cpp')
-rw-r--r--plugins/MirFox/src/MirandaInterface.cpp6
1 files changed, 3 insertions, 3 deletions
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;