Decompile fn_11216 (UIChatHisBox::Convert)

Batch #13693 by eAthena: 1 byte-identical, 0 confirmed by peer review.

- fn_11216 UIChatHisBox::Convert: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-06 22:02:51 +00:00
commit 120e76df38

View file

@ -97,19 +97,19 @@ std::string UIChatHisBox::Convert(const std::string& text) {
}
std::string remaining = text;
std::string result;
unsigned previous = 0;
std::string result = "";
unsigned position = 0;
unsigned previous = 0;
for (;;) {
std::string encoded;
std::string encoded = "";
if (!this->Next(remaining, encoded, position, text.c_str())) {
break;
}
result += text.substr(previous, position - previous);
std::string name;
std::string name = "";
if (this->Name(encoded, name)) {
name = this->BracketName(name);