Decompile fn_10762 (UIEditCtrl3::DecodeLinkFields)
Batch #15353 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_10762 UIEditCtrl3::DecodeLinkFields: logic confirmed by peer review Peer-reviewed-by: eAthena, 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
80567b18b5
commit
b79e36adf4
1 changed files with 2 additions and 2 deletions
|
|
@ -10198,7 +10198,7 @@ void UIEditCtrl3::DecodeLinkFields(const std::string& link, std::vector<int>& fi
|
|||
return;
|
||||
}
|
||||
|
||||
char* text = static_cast<char*>(std::malloc(static_cast<std::size_t>(length)));
|
||||
char* text = new char[length];
|
||||
strcpy_s(text, length, link.c_str());
|
||||
|
||||
std::string value;
|
||||
|
|
@ -10267,7 +10267,7 @@ void UIEditCtrl3::DecodeLinkFields(const std::string& link, std::vector<int>& fi
|
|||
}
|
||||
}
|
||||
|
||||
std::free(text);
|
||||
delete[] text;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00859220
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue