mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-27 00:53:22 +00:00
Fix build for OS X 10.10-10.11.
This commit is contained in:
parent
f887bf3b6a
commit
3822845f86
@ -173,7 +173,7 @@ void Changelogs::addBetaLog(int changeVersion, const char *changes) {
|
||||
static const auto separator = QString::fromUtf8("\n\xE2\x80\xA2 ");
|
||||
auto result = QString::fromUtf8(changes).trimmed();
|
||||
if (result.startsWith(simple.midRef(1))) {
|
||||
result = separator.midRef(1) + result.midRef(simple.size() - 1);
|
||||
result = separator.mid(1) + result.mid(simple.size() - 1);
|
||||
}
|
||||
return result.replace(simple, separator);
|
||||
}();
|
||||
|
Loading…
Reference in New Issue
Block a user