Decompile 2 functions in Source/Archive/MemMapPakFile.cpp, Source/Network/TextEncoding.cpp, ...
Batch #18676 by eAthena: 2 byte-identical, 0 confirmed by peer review. - fn_18142 CMemMapPakFile::Read: byte-identical - fn_03951 CCURLMgr::ToUtf8: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
621a914772
commit
dcc8218012
2 changed files with 7 additions and 8 deletions
|
|
@ -30,12 +30,11 @@ std::string CCURLMgr::ToUtf8(std::string text) {
|
|||
|
||||
if (converted) {
|
||||
WideCharToMultiByte(CP_UTF8, 0, wide, -1, converted, length, nullptr, nullptr);
|
||||
result.assign(converted, std::strlen(converted));
|
||||
_freea(converted);
|
||||
} else {
|
||||
result.assign(converted, std::strlen(converted));
|
||||
}
|
||||
|
||||
result = converted;
|
||||
_freea(converted);
|
||||
|
||||
SysFreeString(wide);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue