summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-22 14:07:12 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-22 14:07:12 +0300
commit2cb97e09243a3c50b9b7caa94974d01c6dbe2ceb (patch)
tree1de7d21d22aac05de23c381535bce2d1df39477d /protocols/JabberG
parentaf65a46c9d706c396d1e67ec5840b2fbd3d0e70d (diff)
warning fix
Diffstat (limited to 'protocols/JabberG')
-rw-r--r--protocols/JabberG/src/jabber_userinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_userinfo.cpp b/protocols/JabberG/src/jabber_userinfo.cpp
index 5b991fa908..e4cd046a4f 100644
--- a/protocols/JabberG/src/jabber_userinfo.cpp
+++ b/protocols/JabberG/src/jabber_userinfo.cpp
@@ -291,7 +291,7 @@ class JabberUserInfoDlg : public JabberBaseUserInfoDlg
if (jcb & it->jcbCap) {
char szDescription[1024];
if (it->szDescription)
- mir_snprintf(szDescription, "%s (%s)", TranslateU(it->szDescription), it->szFeature);
+ mir_snprintf(szDescription, "%s (%s)", TranslateU(it->szDescription), it->szFeature.get());
else
strncpy_s(szDescription, it->szFeature, _TRUNCATE);
FillInfoLine(htiCaps, nullptr, nullptr, szDescription, sttInfoLineId(resource, INFOLINE_CAPS, i++));