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:
parent
fc5e42d80e
commit
120e76df38
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue