diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-17 14:28:39 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-17 14:28:47 +0300 |
commit | 1fb1cf50e18482006dd86f2a1a47d6be2272de61 (patch) | |
tree | 42d0fa66de3424d2ba03a3c841d101f8435c6a98 /src/mir_app | |
parent | ddfe88bdb92ee76a8757389e44585bac70f632e5 (diff) |
fixes #4679 (NewStory: кнопка "Цитата" плагина сообщений цитирует не выбранное событие, а последнее)
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/mir_app.def | 2 | ||||
-rw-r--r-- | src/mir_app/src/mir_app64.def | 2 | ||||
-rw-r--r-- | src/mir_app/src/srmm_log_hpp.cpp | 2 | ||||
-rw-r--r-- | src/mir_app/src/srmm_log_rtf.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def index f6235f268c..893a2882d6 100644 --- a/src/mir_app/src/mir_app.def +++ b/src/mir_app/src/mir_app.def @@ -664,7 +664,7 @@ UnregisterHppLogger @786 ?Clear@CRtfLogWindow@@UAEXXZ @795 NONAME
?Detach@CRtfLogWindow@@UAEXXZ @796 NONAME
?GetHwnd@CRtfLogWindow@@UAEPAUHWND__@@XZ @797 NONAME
-?GetSelection@CRtfLogWindow@@UAEPA_WXZ @798 NONAME
+?GetSelectedText@CRtfLogWindow@@UAEPA_WXZ @798 NONAME
?Notify@CRtfLogWindow@@UAEHIJ@Z @799 NONAME
?Notify@CSrmmLogWindow@@UAEHIJ@Z @800 NONAME
?Resize@CRtfLogWindow@@UAEXXZ @801 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def index a09d88051d..cdb622cf2a 100644 --- a/src/mir_app/src/mir_app64.def +++ b/src/mir_app/src/mir_app64.def @@ -664,7 +664,7 @@ UnregisterHppLogger @786 ?Clear@CRtfLogWindow@@UEAAXXZ @795 NONAME
?Detach@CRtfLogWindow@@UEAAXXZ @796 NONAME
?GetHwnd@CRtfLogWindow@@UEAAPEAUHWND__@@XZ @797 NONAME
-?GetSelection@CRtfLogWindow@@UEAAPEA_WXZ @798 NONAME
+?GetSelectedText@CRtfLogWindow@@UEAAPEA_WXZ @798 NONAME
?Notify@CRtfLogWindow@@UEAA_J_K_J@Z @799 NONAME
?Notify@CSrmmLogWindow@@UEAA_J_K_J@Z @800 NONAME
?Resize@CRtfLogWindow@@UEAAXXZ @801 NONAME
diff --git a/src/mir_app/src/srmm_log_hpp.cpp b/src/mir_app/src/srmm_log_hpp.cpp index 6ed8df33d5..8ba597d173 100644 --- a/src/mir_app/src/srmm_log_hpp.cpp +++ b/src/mir_app/src/srmm_log_hpp.cpp @@ -85,7 +85,7 @@ public: return 2;
}
- wchar_t* GetSelection() override
+ wchar_t* GetSelectedText() override
{
IEVIEWEVENT event = {};
event.hwnd = m_hwnd;
diff --git a/src/mir_app/src/srmm_log_rtf.cpp b/src/mir_app/src/srmm_log_rtf.cpp index 0531b3e445..96ebee13ab 100644 --- a/src/mir_app/src/srmm_log_rtf.cpp +++ b/src/mir_app/src/srmm_log_rtf.cpp @@ -138,7 +138,7 @@ static DWORD CALLBACK StreamOutCallback(DWORD_PTR dwCookie, LPBYTE pbBuff, LONG return 0;
}
-wchar_t* CRtfLogWindow::GetSelection()
+wchar_t* CRtfLogWindow::GetSelectedText()
{
CHARRANGE sel;
SendMessage(m_rtf.GetHwnd(), EM_EXGETSEL, 0, (LPARAM)&sel);
|