Decompile 3 functions in Source/Network/TextEncoding.h, Source/Network/TextEncoding.cpp, ...
Batch #16442 by eAthena: 1 byte-identical, 2 confirmed by peer review. - fn_16615 CUIRenewQuestUI::MatchesFilter: byte-identical - fn_02795 FindSubstring: logic confirmed by peer review - fn_16210 HighlightKeyword: logic confirmed by peer review Peer-reviewed-by: Yommy, kyoshi Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
4ad7463d25
commit
0a34d86404
5 changed files with 7 additions and 13 deletions
|
|
@ -492,7 +492,7 @@ void CUIProbabilityTable::Search() {
|
|||
|
||||
list = this->m_list;
|
||||
auto matches = [keyword](const ProbabilityTable::CItemData& data) {
|
||||
return FindSubstring(data.name.c_str(), static_cast<int>(data.name.size()), keyword.data()) != -1;
|
||||
return FindSubstring(data.name, keyword) != -1;
|
||||
};
|
||||
|
||||
auto start = list->data.begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue