diff options
author | George Hazan <ghazan@miranda.im> | 2018-09-03 18:25:42 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-09-03 18:25:42 +0300 |
commit | c0274fa5abfcfb59a4c8ae4d113d705ea0272c4c (patch) | |
tree | d8eda62b1e94d67f84a121295a3cb8f68b01849e /protocols/FacebookRM/src/json.cpp | |
parent | 4db67c1a255bf379e63641eff1f3527ea6aa2759 (diff) |
popup code cleaning
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 4 |
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 |