diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-28 15:51:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-28 15:51:04 +0300 |
commit | ac6607c5f76566c2c840ca3955a22448738df9b3 (patch) | |
tree | b697dbe07b88ac8fefb5f00a003c95710b3bbbeb /utils | |
parent | e787987f54733bd58f69ced43a506aa7fc42fb7c (diff) |
mir_urlDecode & mir_urlEncode to return CMStringA
Diffstat (limited to 'utils')
-rw-r--r-- | utils/std_string_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/std_string_utils.cpp b/utils/std_string_utils.cpp index c021df51e0..bac8957325 100644 --- a/utils/std_string_utils.cpp +++ b/utils/std_string_utils.cpp @@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. std::string utils::url::encode(const std::string &s) { - return (char*)ptrA(mir_urlEncode(s.c_str())); + return mir_urlEncode(s.c_str()); } std::string utils::url::decode(std::string data) |