From 82d8dfc4a4c1fcd30902890c27f941364c59e176 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 13:26:50 +0000 Subject: [PATCH] Decompile fn_18265 (EncodeText) Batch #16062 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_18265 EncodeText: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Network/TextEncoding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Network/TextEncoding.cpp b/Source/Network/TextEncoding.cpp index 98ad459f6..6afb259f5 100644 --- a/Source/Network/TextEncoding.cpp +++ b/Source/Network/TextEncoding.cpp @@ -145,7 +145,7 @@ std::string EncodeText(UINT codePage, const std::wstring& text) { delete[] converted; return ""; } - std::string result(converted, std::strlen(converted)); + std::string result(converted); delete[] converted; return result; }