summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/obsoleted/jabber_form2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/obsoleted/jabber_form2.cpp')
-rw-r--r--protocols/JabberG/src/obsoleted/jabber_form2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/obsoleted/jabber_form2.cpp b/protocols/JabberG/src/obsoleted/jabber_form2.cpp
index bd8fa20425..02400de029 100644
--- a/protocols/JabberG/src/obsoleted/jabber_form2.cpp
+++ b/protocols/JabberG/src/obsoleted/jabber_form2.cpp
@@ -777,7 +777,7 @@ public:
CreateLabel();
int i, length = 1;
for (i = 0; i < m_field->GetValueCount(); ++i)
- length += lstrlen(m_field->GetValue(i)) + 2;
+ length += mir_tstrlen(m_field->GetValue(i)) + 2;
TCHAR *str = (TCHAR *)mir_alloc(sizeof(TCHAR) * length);
*str = 0;