summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msglog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-10-01 20:16:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-10-01 20:16:35 +0300
commit0978e38a917049df36ec6346a190e355a9d3c724 (patch)
tree4c5e973247ad3d25550f7b5353b89b0f2eac6d61 /plugins/TabSRMM/src/msglog.cpp
parent73af112af978c59138c5fee2ac0cb9c6db8cdbf0 (diff)
code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/msglog.cpp')
-rw-r--r--plugins/TabSRMM/src/msglog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp
index 6815a68c19..512cd8373f 100644
--- a/plugins/TabSRMM/src/msglog.cpp
+++ b/plugins/TabSRMM/src/msglog.cpp
@@ -432,7 +432,6 @@ static char* Template_CreateRTFFromDbEvent(CTabBaseDlg *dat, MCONTACT hContact,
BOOL skipToNext = FALSE, skipFont = FALSE;
struct tm event_time = { 0 };
BOOL isBold = FALSE, isItalic = FALSE, isUnderline = FALSE;
- DWORD dwFormattingParams = MAKELONG(1, 0);
DBEVENTINFO dbei = { 0 };
if (streamData->dbei != 0)
@@ -459,7 +458,7 @@ static char* Template_CreateRTFFromDbEvent(CTabBaseDlg *dat, MCONTACT hContact,
return nullptr;
}
msg.TrimRight();
- dat->FormatRaw(msg, dwFormattingParams, FALSE);
+ dat->FormatRaw(msg, 1, FALSE);
CMStringA str;
BOOL bIsStatusChangeEvent = IsStatusEvent(dbei.eventType);