diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-10-20 09:37:26 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-10-20 09:37:26 +0000 |
commit | 1b270f957517df4def8cf85ee3dc75050cce3357 (patch) | |
tree | 1972b6e4270c798f1848f19e2a8574e0cc88f30c /protocols/Omegle/src/communication.cpp | |
parent | d3e496e29030a0ebe980dcd0326a1c3262d2db1e (diff) |
Omegle: Adapt to use std_string_utils
git-svn-id: http://svn.miranda-ng.org/main/trunk@15575 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/src/communication.cpp')
-rw-r--r-- | protocols/Omegle/src/communication.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Omegle/src/communication.cpp b/protocols/Omegle/src/communication.cpp index a869a47391..428d4a8cc4 100644 --- a/protocols/Omegle/src/communication.cpp +++ b/protocols/Omegle/src/communication.cpp @@ -531,7 +531,7 @@ bool Omegle_client::events() pos += 13; std::string question = utils::text::trim( - utils::text::special_expressions_decode( + utils::text::html_entities_decode( utils::text::slashu_to_utf8( resp.data.substr(pos, resp.data.find("\"]", pos) - pos) )) ); @@ -576,7 +576,7 @@ bool Omegle_client::events() pos += 15; std::string message = utils::text::trim( - utils::text::special_expressions_decode( + utils::text::html_entities_decode( utils::text::slashu_to_utf8( resp.data.substr(pos, resp.data.find("\"]", pos) - pos) )) ); @@ -600,7 +600,7 @@ bool Omegle_client::events() message = message.substr(stranger.length() + 4); message = utils::text::trim( - utils::text::special_expressions_decode( + utils::text::html_entities_decode( utils::text::slashu_to_utf8( message )) ); stranger = Translate(stranger.c_str()); @@ -632,7 +632,7 @@ bool Omegle_client::events() pos += 20; std::string stranger = utils::text::trim( - utils::text::special_expressions_decode( + utils::text::html_entities_decode( utils::text::slashu_to_utf8( resp.data.substr(pos, resp.data.find("\"]", pos) - pos) )) ); @@ -668,7 +668,7 @@ bool Omegle_client::events() pos += 10; std::string error = utils::text::trim( - utils::text::special_expressions_decode( + utils::text::html_entities_decode( utils::text::slashu_to_utf8( resp.data.substr(pos, resp.data.find("\"]", pos) - pos) )) ); |