summaryrefslogtreecommitdiff
path: root/plugins/Popup
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup')
-rw-r--r--plugins/Popup/src/popup_wnd2.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Popup/src/popup_wnd2.cpp b/plugins/Popup/src/popup_wnd2.cpp
index 3c0d1a96c3..cdc4a76c02 100644
--- a/plugins/Popup/src/popup_wnd2.cpp
+++ b/plugins/Popup/src/popup_wnd2.cpp
@@ -740,9 +740,10 @@ void PopupWnd2::buildMText()
m_mtText = m_mtTitle = nullptr;
if (m_lptzText && m_lptzTitle) {
+ auto *szProto = Proto_GetBaseAccountName(m_hContact);
m_textType = TT_MTEXT;
- m_mtText = MTextCreateW(htuText, m_lptzText);
- m_mtTitle = MTextCreateW(htuTitle, m_lptzTitle);
+ m_mtText = MTextCreateW(htuText, szProto, m_lptzText);
+ m_mtTitle = MTextCreateW(htuTitle, szProto, m_lptzTitle);
}
}