diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-03-05 15:05:51 +0100 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-03-05 15:06:02 +0100 |
commit | da611f505c0e9a8d8476de272967891efba48872 (patch) | |
tree | 9c3b2ea1ca752b9a3628748fafa6cd78dbb0b101 /utils/std_string_utils.h | |
parent | 5417b1e4a79c86ac64cb3f84cde17eec2e0d0c87 (diff) |
Facebook: Fix reseting chat name
When user changed thread name from website and set it to "", in Miranda it previously stay "". Now it correctly generates new name from participant names.
Diffstat (limited to 'utils/std_string_utils.h')
-rw-r--r-- | utils/std_string_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/std_string_utils.h b/utils/std_string_utils.h index 96ee5ca4d9..2c72e3a918 100644 --- a/utils/std_string_utils.h +++ b/utils/std_string_utils.h @@ -76,7 +76,7 @@ namespace utils std::string truncate_utf8(const std::string &text, size_t maxLength);
void explode(std::string str, const std::string &separator, std::vector<std::string>* results);
void append_ordinal(unsigned long value, std::string* data);
- std::wstring prepare_name(const std::wstring &name, bool withSurnameLetter);
+ std::string prepare_name(const std::string &name, bool withSurnameLetter);
};
namespace conversion
|