summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2023-02-22 03:09:35 +0300
committerdartraiden <wowemuh@gmail.com>2023-02-22 03:09:35 +0300
commit2f71af700ac7b4077aa6734064376aed11fa6c4e (patch)
treed6e414d71606ecd9d52bf4e52703c9cf4d396c2c /plugins/TabSRMM/src
parent1af62415a03e312a813a4f56ba9606d3ed9ab1ee (diff)
fixes #3340 (Do not add space on autocomplete)
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp1
-rw-r--r--plugins/TabSRMM/src/msgdlgother.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 67d48d5545..e07b4b642a 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -1035,7 +1035,6 @@ void CMsgDialog::onDblClick_List(CCtrlListBox *pList)
CMStringW tszName(ui->pszNick);
if (selStart == 0 && mir_wstrlen(g_Settings.pwszAutoText))
tszName.Append(g_Settings.pwszAutoText);
- tszName.AppendChar(' ');
m_message.SendMsg(EM_REPLACESEL, FALSE, (LPARAM)tszName.GetString());
PostMessage(m_hwnd, WM_MOUSEACTIVATE, 0, 0);
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp
index 06501884f7..fb80588a80 100644
--- a/plugins/TabSRMM/src/msgdlgother.cpp
+++ b/plugins/TabSRMM/src/msgdlgother.cpp
@@ -2284,7 +2284,6 @@ LBL_SkipEnd:
szReplace = pszName;
if (mir_wstrlen(g_Settings.pwszAutoText))
szReplace.Append(g_Settings.pwszAutoText);
- szReplace.AppendChar(' ');
m_wszSearchResult = szReplace.Detach();
pszName = m_wszSearchResult;
}