From b3f693c28e8574cdb99916cb417d14d238d60ca2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 26 Feb 2015 13:56:36 +0000 Subject: some rtf glitches git-svn-id: http://svn.miranda-ng.org/main/trunk@12272 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/chat/chat_rtf.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/modules/chat/chat_rtf.cpp b/src/modules/chat/chat_rtf.cpp index 0758f8bff3..2cff984c84 100644 --- a/src/modules/chat/chat_rtf.cpp +++ b/src/modules/chat/chat_rtf.cpp @@ -201,6 +201,9 @@ int DoRtfToTags(CMString &pszText, int iNumColors, COLORREF *pColors) } } + if (bInsideUl) + res.Append(_T("[/u]")); + pszText = res; return TRUE; } -- cgit v1.2.3