summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msglog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-03-22 12:52:22 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-03-22 12:52:22 +0300
commitbb0498bf6aa0accd22bbc19091a12d54602a52be (patch)
tree121ce8d5ad87121bb7dd18d5ba8be657a23606b0 /plugins/TabSRMM/src/msglog.cpp
parent3bb36572408b63efac44da01a26c9bfa3d3b5e79 (diff)
tabSRMM: removed all checks if m_hContact == 0, because it never happens
Diffstat (limited to 'plugins/TabSRMM/src/msglog.cpp')
-rw-r--r--plugins/TabSRMM/src/msglog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp
index 1d03aa7a1c..cd057cae83 100644
--- a/plugins/TabSRMM/src/msglog.cpp
+++ b/plugins/TabSRMM/src/msglog.cpp
@@ -468,7 +468,8 @@ static char* Template_CreateRTFFromDbEvent(CMsgDialog *dat, MCONTACT hContact, M
CMStringA str;
- if (dat->m_isAutoRTL & 2) { // means: last \\par was deleted to avoid new line at end of log
+ // means: last \\par was deleted to avoid new line at end of log
+ if (dat->m_isAutoRTL & 2) {
str.Append("\\par");
dat->m_isAutoRTL &= ~2;
}