Fix build with Xcode.
This commit is contained in:
parent
a7074136b4
commit
e65d496525
2 changed files with 3 additions and 2 deletions
|
|
@ -14,6 +14,7 @@ namespace Ui {
|
||||||
|
|
||||||
class FrameGenerator {
|
class FrameGenerator {
|
||||||
public:
|
public:
|
||||||
|
virtual ~FrameGenerator() = default;
|
||||||
[[nodiscard]] virtual int count() = 0;
|
[[nodiscard]] virtual int count() = 0;
|
||||||
|
|
||||||
struct Frame {
|
struct Frame {
|
||||||
|
|
|
||||||
|
|
@ -3679,8 +3679,8 @@ TextForMimeData String::toText(
|
||||||
if (composeEntities && !customEmojiData.isEmpty()) {
|
if (composeEntities && !customEmojiData.isEmpty()) {
|
||||||
insertEntity({
|
insertEntity({
|
||||||
EntityType::CustomEmoji,
|
EntityType::CustomEmoji,
|
||||||
result.rich.text.size() - part.size(),
|
int(result.rich.text.size() - part.size()),
|
||||||
part.size(),
|
int(part.size()),
|
||||||
customEmojiData,
|
customEmojiData,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue