summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-08-07 02:42:54 +0000
committerRobert Pösel <robyer@seznam.cz>2014-08-07 02:42:54 +0000
commit8522b3eadb69e3747ad53f970178c2a13f578841 (patch)
treed279b0f9a198f4d422fd1c8dabd406b1ae52a0f6 /protocols
parent85f8b97d732b1408ddce9d115a9b8796a6b9537c (diff)
Facebook: Fix trim method to not break some unicode chars
git-svn-id: http://svn.miranda-ng.org/main/trunk@10107 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/FacebookRM/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/utils.cpp b/protocols/FacebookRM/src/utils.cpp
index 6b03f523f3..2a4c263d5f 100644
--- a/protocols/FacebookRM/src/utils.cpp
+++ b/protocols/FacebookRM/src/utils.cpp
@@ -334,7 +334,7 @@ std::string utils::text::slashu_to_utf8(std::string data)
std::string utils::text::trim(std::string data, bool rtrim)
{
- std::string spaces = "  \t\r\n";
+ std::string spaces = " \t\r\n";
std::string::size_type begin = rtrim ? 0 : data.find_first_not_of(spaces);
std::string::size_type end = data.find_last_not_of(spaces);