summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/json.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 /protocols/FacebookRM/src/json.cpp
parent4db67c1a255bf379e63641eff1f3527ea6aa2759 (diff)
popup code cleaning
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r--protocols/FacebookRM/src/json.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp
index 51112635f5..0b4db5be8c 100644
--- a/protocols/FacebookRM/src/json.cpp
+++ b/protocols/FacebookRM/src/json.cpp
@@ -546,10 +546,10 @@ const char* FacebookProto::ParseIcon(const std::string &url)
mir_snprintf(name, "%s_%s%d", m_szModuleName, "Reaction", idx);
POPUPCLASS ppc = { sizeof(ppc) };
- ppc.flags = PCF_TCHAR;
+ ppc.flags = PCF_UNICODE;
ppc.PluginWindowProc = PopupDlgProc;
ppc.lParam = APF_RETURN_HWND;
- ppc.pwszDescription = desc;
+ ppc.pszDescription.w = desc;
ppc.pszName = name;
ppc.hIcon = hIcon;
ppc.colorBack = RGB(59, 89, 152); // Facebook's blue