summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
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);