summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/TabSRMM/src/chat/log.cpp3
-rw-r--r--plugins/TabSRMM/src/chat/window.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/chat/log.cpp b/plugins/TabSRMM/src/chat/log.cpp
index f5eb43a9a0..e191ecdbca 100644
--- a/plugins/TabSRMM/src/chat/log.cpp
+++ b/plugins/TabSRMM/src/chat/log.cpp
@@ -805,6 +805,9 @@ static char* Log_CreateRTF(LOGSTREAMDATA *streamData)
str.AppendFormat("\\cf%u ", OPTIONS_FONTCOUNT + streamData->crCount + crNickIndex);
}
+ if (db_get_b(0, CHAT_MODULE, "NewlineAfterNames"))
+ pszTemp.AppendChar('\n');
+
Log_AppendRTF(streamData, TRUE, str, pszTemp, lin->ptszNick);
str.AppendChar(' ');
}
diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp
index bbc0eecb7c..fc199c52be 100644
--- a/plugins/TabSRMM/src/chat/window.cpp
+++ b/plugins/TabSRMM/src/chat/window.cpp
@@ -497,7 +497,7 @@ LBL_SkipEnd:
if (!isRoom && !isTopic && g_Settings.bAddColonToAutoComplete && start == 0) {
szReplace = (TCHAR*)mir_alloc((mir_wstrlen(pszName) + 4) * sizeof(TCHAR));
mir_wstrcpy(szReplace, pszName);
- mir_wstrcat(szReplace, L": ");
+ mir_wstrcat(szReplace, db_get_b(NULL, CHAT_MODULE, "UseCommaAsColon") ? L", " : L": ");
pszName = szReplace;
}
SendMessage(hwnd, EM_SETSEL, start, end);