mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix build for OS X 10.10-10.11.
This commit is contained in:
parent
f887bf3b6a
commit
3822845f86
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ void Changelogs::addBetaLog(int changeVersion, const char *changes) {
|
||||||
static const auto separator = QString::fromUtf8("\n\xE2\x80\xA2 ");
|
static const auto separator = QString::fromUtf8("\n\xE2\x80\xA2 ");
|
||||||
auto result = QString::fromUtf8(changes).trimmed();
|
auto result = QString::fromUtf8(changes).trimmed();
|
||||||
if (result.startsWith(simple.midRef(1))) {
|
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);
|
return result.replace(simple, separator);
|
||||||
}();
|
}();
|
||||||
|
|
Loading…
Add table
Reference in a new issue