diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_iqid.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp index d502c21daf..977da1b1e0 100644 --- a/protocols/JabberG/src/jabber_iqid.cpp +++ b/protocols/JabberG/src/jabber_iqid.cpp @@ -981,9 +981,9 @@ void CJabberProto::OnIqResultGetVcard(HXML iqNode, CJabberIqInfo*) else if (!mir_tstrcmp(xmlGetName(n), _T("DESC"))) {
if (!hasDesc && xmlGetText(n) != NULL) {
hasDesc = true;
- TCHAR *szMemo = JabberUnixToDosT(xmlGetText(n));
- setTString(hContact, "About", szMemo);
- mir_free(szMemo);
+ CMString tszMemo(xmlGetText(n));
+ tszMemo.Replace(_T("\n"), _T("\r\n"));
+ setTString(hContact, "About", tszMemo);
}
}
else if (!mir_tstrcmp(xmlGetName(n), _T("PHOTO")))
|