mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00: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