Beta version 3.7.6: Fix Document::fullSelectionLength.

This commit is contained in:
John Preston 2022-06-16 16:09:52 +04:00
parent fa01a9df69
commit 7db2256f63

View file

@ -995,7 +995,7 @@ uint16 Document::fullSelectionLength() const {
if (const auto captioned = Get<HistoryDocumentCaptioned>()) {
result += captioned->_caption.length();
}
return 0;
return result;
}
bool Document::hasTextForCopy() const {