summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-08-12 14:21:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-08-12 14:21:02 +0300
commitfddf088c0c3c922d61edd84d6316ca8b2b872f2b (patch)
tree2628c437bfb2920232696c14e119ebd6fdfeb4d6 /plugins/TabSRMM
parenta0973b8460f258b634d4236313f9dbd488bf38bb (diff)
fix for the previous commit (we still need a space)
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/chat_log.cpp6
-rw-r--r--plugins/TabSRMM/src/msgs.cpp2
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/chat_log.cpp b/plugins/TabSRMM/src/chat_log.cpp
index 89559fd94d..e25c14e6fa 100644
--- a/plugins/TabSRMM/src/chat_log.cpp
+++ b/plugins/TabSRMM/src/chat_log.cpp
@@ -229,9 +229,11 @@ static void AddEventToBuffer(CMStringA &str, LOGSTREAMDATA *streamData)
bool bTextUsed = Chat_GetDefaultEventDescr(streamData->si, streamData->lin, wszCaption);
if (!wszCaption.IsEmpty())
Log_AppendRTF(streamData, !bTextUsed, str, wszCaption);
-
- if (!bTextUsed && streamData->lin->ptszText)
+ if (!bTextUsed && streamData->lin->ptszText) {
+ if (!wszCaption.IsEmpty())
+ Log_AppendRTF(streamData, false, str, L" ");
Log_AppendRTF(streamData, false, str, streamData->lin->ptszText);
+ }
}
char* Log_CreateRtfHeader(void)
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index 010daf2a9d..c720434072 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -29,7 +29,7 @@
#include "stdafx.h"
-#define IDI_CORE_LOAD 132 // icon id for the "connecting" icon
+#define IDI_CORE_LOAD 132 // icon id for the "connecting" icon
static HANDLE hUserPrefsWindowLis = nullptr;
HMODULE g_hMsftedit;