summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-09-03 18:47:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-09-03 18:47:56 +0300
commit510da32865c8ed78f9ffb3e57e23e2cfea132b0d (patch)
tree28a3841e6a40036d7dafbbaef76b4d8c206f3f49 /protocols/JabberG/src
parent13e66cd09f0dd2c32a859abdc408dad7720b2777 (diff)
Popups:
- fixes #1564 (Move popups fonts/colors settings into submenu SkypeWeb VKontakte) - more code cleaning
Diffstat (limited to 'protocols/JabberG/src')
-rwxr-xr-xprotocols/JabberG/src/jabber_misc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp
index eba91277ee..ccba91f5b7 100755
--- a/protocols/JabberG/src/jabber_misc.cpp
+++ b/protocols/JabberG/src/jabber_misc.cpp
@@ -404,16 +404,16 @@ void CJabberProto::SetContactOfflineStatus(MCONTACT hContact)
void CJabberProto::InitPopups(void)
{
- wchar_t desc[256];
- mir_snwprintf(desc, TranslateT("%s errors"), m_tszUserName);
-
char name[256];
- mir_snprintf(name, "%s_%s", m_szModuleName, "Error");
+ wchar_t desc[256];
POPUPCLASS ppc = { sizeof(ppc) };
ppc.flags = PCF_UNICODE;
ppc.pszName = name;
ppc.pszDescription.w = desc;
+
+ mir_snprintf(name, "%s_%s", m_szModuleName, "Error");
+ mir_snwprintf(desc, L"%s/%s", m_tszUserName, TranslateT("Errors"));
ppc.hIcon = LoadIconEx("main");
ppc.colorBack = RGB(191, 0, 0); //Red
ppc.colorText = RGB(255, 245, 225); //Yellow