summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-02-26 13:56:36 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-02-26 13:56:36 +0000
commitb3f693c28e8574cdb99916cb417d14d238d60ca2 (patch)
treeed6dd2c21a7a368145163c8fba2d9c7d8813b103 /src
parent5fd72266f7483bb586679fd0ef98be526b03729b (diff)
some rtf glitches
git-svn-id: http://svn.miranda-ng.org/main/trunk@12272 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/modules/chat/chat_rtf.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}