mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix build for OS X 10.10-10.11.
This commit is contained in:
@@ -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);
|
||||
}();
|
||||
|
||||
Reference in New Issue
Block a user