summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msglog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-26 12:21:04 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-26 12:21:04 +0300
commit81385232b3d343a4ee73efa3a742a38e48be386b (patch)
treeea8a422e9ead915c4b57b7c15dffa00bf1ed7f0a /plugins/TabSRMM/src/msglog.cpp
parent84f26abba25b68ca38f829abe44716f8f663939a (diff)
fixes #4235 (tabSRMM: problems with cyrillic letters in Template Editor preview window)
Diffstat (limited to 'plugins/TabSRMM/src/msglog.cpp')
-rw-r--r--plugins/TabSRMM/src/msglog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp
index 9dcefa28aa..d2e55696f1 100644
--- a/plugins/TabSRMM/src/msglog.cpp
+++ b/plugins/TabSRMM/src/msglog.cpp
@@ -575,7 +575,7 @@ bool CLogWindow::CreateRtfEvent(RtfLogStreamData *streamData, DB::EventInfo &dbe
CMStringW msg(ptrW(DbEvent_GetTextW(&dbei)));
if (msg.IsEmpty())
- return nullptr;
+ return false;
msg.TrimRight();
dat->FormatRaw(msg, 1, FALSE);
@@ -1117,7 +1117,7 @@ skip:
dat->m_iLastEventType = MAKELONG((dbei.flags & (DBEF_SENT | DBEF_READ | DBEF_RTL)), dbei.eventType);
dat->m_lastEventTime = dbei.timestamp;
- return str.Detach();
+ return true;
}
/////////////////////////////////////////////////////////////////////////////////////////