From 0978e38a917049df36ec6346a190e355a9d3c724 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 1 Oct 2017 20:16:35 +0300 Subject: code cleaning --- plugins/TabSRMM/src/msglog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/msglog.cpp') 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); -- cgit v1.2.3