summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-04-08 16:36:37 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-04-08 16:36:37 +0300
commit92dadd43d7bab4158ae31cd56758f61ffff13ddc (patch)
treec779b38a012c9634518ec310fc0e81b9f4259ced /protocols
parent9521739bb14ee44722a44f13ca60251a09dfba11 (diff)
Jabber: fix for Instruction field in forms
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_form.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_form.cpp b/protocols/JabberG/src/jabber_form.cpp
index 16e517c822..a24396828d 100644
--- a/protocols/JabberG/src/jabber_form.cpp
+++ b/protocols/JabberG/src/jabber_form.cpp
@@ -263,7 +263,7 @@ void TJabberFormLayoutInfo::PositionControl(TJabberFormControlInfo *item, const
void JabberFormSetInstruction(HWND hwndForm, const char *text)
{
- CMStringW buf(text == nullptr ? "" : text);
+ CMStringW buf(text == nullptr ? "" : Utf2T(text));
buf.Replace(L"\n\r", L"\r\n");
SetDlgItemText(hwndForm, IDC_INSTRUCTION, buf);