diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-17 19:03:41 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-17 19:03:41 +0300 |
commit | b1800acb65fa4eb0c3248772b50c036cf474d1f2 (patch) | |
tree | cf1b485f4962f35c2398bc48b4ca4df84579407f | |
parent | 9ed8134e118a1b8e671252e37d2f247afa4ba5bf (diff) |
fixes #4744 (Telegram: не работает отправка цитат)
-rw-r--r-- | src/mir_app/src/srmm_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp index 7c727c4bef..ab0096c557 100644 --- a/src/mir_app/src/srmm_base.cpp +++ b/src/mir_app/src/srmm_base.cpp @@ -613,7 +613,7 @@ INT_PTR CSrmmBaseDialog::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) }
if (wParam == IDC_CODE) {
- if (lParam > 0 && lParam < _countof(wszBbcodes))
+ if (lParam > 0 && lParam <= _countof(wszBbcodes))
InsertBbcodeString(wszBbcodes[lParam-1]);
else
Srmm_ClickToolbarIcon(m_hContact, wParam, m_hwnd, 0);
|