Decompile 2 functions in Source/UI/Edit/UIEditCtrl.cpp
Batch #15844 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_10899 UIEditCtrl3::DecodeLinkOptions: logic confirmed by peer review - fn_10900 UIEditCtrl3::DecodeLinkCards: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, alisonrag 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
e9e62d5889
commit
76e5be4c0f
1 changed files with 4 additions and 4 deletions
|
|
@ -4294,10 +4294,10 @@ void UIEditCtrl3::DecodeLinkOptions(std::vector<int>& options, const char* text,
|
|||
value += byte;
|
||||
} else if (separator != byte && alternate != byte) {
|
||||
--position;
|
||||
options.push_back(this->DecodeLinkNumber(std::move(value)));
|
||||
options.push_back(this->DecodeLinkNumber(value));
|
||||
break;
|
||||
} else {
|
||||
options.push_back(this->DecodeLinkNumber(std::move(value)));
|
||||
options.push_back(this->DecodeLinkNumber(value));
|
||||
value.clear();
|
||||
}
|
||||
}
|
||||
|
|
@ -4315,11 +4315,11 @@ int UIEditCtrl3::DecodeLinkCards(std::vector<int>& fields, const char* text, int
|
|||
value += byte;
|
||||
} else if (separator == byte) {
|
||||
++count;
|
||||
cards.push_back(this->DecodeLinkNumber(std::move(value)));
|
||||
cards.push_back(this->DecodeLinkNumber(value));
|
||||
value.clear();
|
||||
} else {
|
||||
--position;
|
||||
cards.push_back(this->DecodeLinkNumber(std::move(value)));
|
||||
cards.push_back(this->DecodeLinkNumber(value));
|
||||
fields[index] = count;
|
||||
for (unsigned int i = 0; i < cards.size(); ++i) {
|
||||
fields[index + 1 + i] = cards[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue