diff options
author | George Hazan <george.hazan@gmail.com> | 2015-09-20 20:28:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-09-20 20:28:16 +0000 |
commit | 6de98d148e6fcef514c283e9fc1c0e2cc2592300 (patch) | |
tree | e5cd84828294055945d812e19fe2689308eaa986 /protocols/JabberG/src/jabber_thread.cpp | |
parent | ff9844970faab387450c69cdabc1daadb5ff681f (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.cpp | 3 |
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;
|