diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-12 14:21:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-12 14:21:02 +0300 |
commit | fddf088c0c3c922d61edd84d6316ca8b2b872f2b (patch) | |
tree | 2628c437bfb2920232696c14e119ebd6fdfeb4d6 /plugins/NewStory | |
parent | a0973b8460f258b634d4236313f9dbd488bf38bb (diff) |
fix for the previous commit (we still need a space)
Diffstat (limited to 'plugins/NewStory')
-rw-r--r-- | plugins/NewStory/src/history_array.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index 87571efe9c..f622814d83 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -218,8 +218,11 @@ void HistoryArray::addChatEvent(SESSION_INFO *si, LOGINFO *lin) CMStringW wszText; bool bTextUsed = Chat_GetDefaultEventDescr(si, lin, wszText); - if (!bTextUsed && lin->ptszText) + if (!bTextUsed && lin->ptszText) { + if (!wszText.IsEmpty()) + wszText.AppendChar(' '); wszText.Append(g_chatApi.RemoveFormatting(lin->ptszText)); + } auto &p = allocateItem(); p.hContact = si->hContact; |