diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2017-12-07 00:14:59 +0300 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2017-12-07 00:14:59 +0300 |
commit | 7de7e2ef57ff8eb0491a4b9ecb93aa15936de13c (patch) | |
tree | 78dfa0be15721c6b88b02164ffcab6a89a48524d /plugins/NewsAggregator/Src | |
parent | 4b6980f68d25901133519bc1ad1c5376819a3876 (diff) |
NewsAggregator: added trimming text
Diffstat (limited to 'plugins/NewsAggregator/Src')
-rw-r--r-- | plugins/NewsAggregator/Src/Utils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/NewsAggregator/Src/Utils.cpp b/plugins/NewsAggregator/Src/Utils.cpp index 11725ae360..4a92551688 100644 --- a/plugins/NewsAggregator/Src/Utils.cpp +++ b/plugins/NewsAggregator/Src/Utils.cpp @@ -481,6 +481,8 @@ LPCTSTR ClearText(CMStringW &result, const wchar_t *message) result.Replace(L"☺", L"☺"); //White Smiling Face
result.Replace(L"", L"");
+ result.Trim();
+
return result;
}
|