diff options
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgother.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgother.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp index a7b9823c25..0950593edb 100644 --- a/plugins/TabSRMM/src/msgdlgother.cpp +++ b/plugins/TabSRMM/src/msgdlgother.cpp @@ -1924,10 +1924,8 @@ LBL_SkipEnd: CMStringW szReplace; if (!isRoom && !isTopic && start == 0) { szReplace = pszName; - if (g_Settings.bUseCommaAsColon) - szReplace.AppendChar(','); - else if (g_Settings.bAddColonToAutoComplete) - szReplace.AppendChar(':'); + if (mir_wstrlen(g_Settings.pwszAutoText)) + szReplace.Append(g_Settings.pwszAutoText); szReplace.AppendChar(' '); m_wszSearchResult = szReplace.Detach(); pszName = m_wszSearchResult; |