diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-06 21:05:58 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-06 21:05:58 +0300 |
commit | 26e4df7c02fddf30c5728a97cbf87e7fb301dbe8 (patch) | |
tree | bd3e5a65c196bca70b09a44906a199b0a64b68c8 /protocols/JabberG/src/jabber_notes.cpp | |
parent | d614dd0a540be68878c806c034034a6209363c72 (diff) |
fixes #3840 (Jabber: кракозябры в заголовке окна "Отправить заметку")
Diffstat (limited to 'protocols/JabberG/src/jabber_notes.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_notes.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_notes.cpp b/protocols/JabberG/src/jabber_notes.cpp index ac6272f5b7..5f9df77a6f 100644 --- a/protocols/JabberG/src/jabber_notes.cpp +++ b/protocols/JabberG/src/jabber_notes.cpp @@ -176,11 +176,12 @@ public: Window_SetIcon_IcoLib(m_hwnd, g_plugin.getIconHandle(IDI_NOTES));
if (m_fnProcess) {
+ Utf2T wszFrom(m_pNote->GetFrom());
CMStringW buf;
if (m_fnProcess == &CJabberProto::ProcessIncomingNote)
- buf.Format(TranslateT("Incoming note from %s"), m_pNote->GetFrom());
+ buf.Format(TranslateT("Incoming note from %s"), wszFrom.get());
else
- buf.Format(TranslateT("Send note to %s"), m_pNote->GetFrom());
+ buf.Format(TranslateT("Send note to %s"), wszFrom.get());
SetWindowText(m_hwnd, buf);
}
|