summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-09-20 20:28:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-09-20 20:28:16 +0000
commit6de98d148e6fcef514c283e9fc1c0e2cc2592300 (patch)
treee5cd84828294055945d812e19fe2689308eaa986 /protocols/JabberG/src/jabber_thread.cpp
parentff9844970faab387450c69cdabc1daadb5ff681f (diff)
custom unicode symbols verifier removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@15411 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r--protocols/JabberG/src/jabber_thread.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 9a61d52b99..e481236453 100644
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -2010,8 +2010,7 @@ int ThreadData::send(HXML node)
for (TCHAR *p = str; *p; ++p) {
WCHAR c = *p;
-
- if (c < 0x9 || c > 0x9 && c < 0xA || c > 0xA && c < 0xD || c > 0xD && c < 0x20 || c > 0xD7FF && c < 0xE000 || c > 0xFFFD)
+ if (c < 32 && c != '\t' && c != '\n' && c != '\r')
continue;
*q++ = *p;