summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/TabSRMM/src/msgdlgutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp
index 37cd081c08..ae11b83a27 100644
--- a/plugins/TabSRMM/src/msgdlgutils.cpp
+++ b/plugins/TabSRMM/src/msgdlgutils.cpp
@@ -955,7 +955,7 @@ BOOL TSAPI DoRtfToTags(const TWindowData *dat, CMString &pszText)
}
p++; // skip initial slash
- p += _tcscspn(p, _T(" \\"));
+ p += _tcscspn(p, _T(" \\\n\r"));
if (*p == ' ')
p++;
break;