Skip to content

Commit

Permalink
Fix build with Xcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Dec 17, 2024
1 parent 3f0d687 commit e215d5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,6 @@ void AddWhenEditedForwardedActionHelper(
menu->addAction(Ui::WhenReadContextAction(
menu.get(),
Api::WhenOriginal(item->from(), forwarded->originalDate)));
forwarded->originalDate;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/history/view/history_view_element.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Element *MousedElement/* = nullptr*/;
auto skip = 0;
if (const auto from = inside.indexOf(part, skip); from >= 0) {
if (!from || !inside[from - 1].isLetterOrNumber()) {
return from;
return int(from);
}
skip = from + 1;
}
Expand Down

0 comments on commit e215d5b

Please sign in to comment.