From 0850ca9cfac8f178a985ddac0a209cc3d1809627 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 10:29:38 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/Edit/UIEditCtrl.cpp Batch #16868 by eAthena: 2 byte-identical, 0 confirmed by peer review. - fn_10746 UIEditCtrl3::DecodeLinkNumber: byte-identical - fn_13418 UIItemBaseWnd::SendMsg: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Edit/UIEditCtrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Edit/UIEditCtrl.cpp b/Source/UI/Edit/UIEditCtrl.cpp index eb18c920c..16ad40023 100644 --- a/Source/UI/Edit/UIEditCtrl.cpp +++ b/Source/UI/Edit/UIEditCtrl.cpp @@ -4267,7 +4267,7 @@ int UIEditCtrl3::DecodeLinkNumber(std::string text) { const int length = size - 1; for (int position = 0; position < length; ++position) { for (int digit = 0; digit < 62; ++digit) { - if (characters[position] != digits[digit]) { + if (digits[digit] != characters[position]) { continue; } @@ -6068,9 +6068,9 @@ int UIItemBaseWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std:: } const int rowsHeight = (height - 38) / 32 * 32; + const int newHeight = rowsHeight + 38; const int columnsWidth = (width - 280) / 32 * 32; const int newWidth = columnsWidth + 280; - const int newHeight = rowsHeight + 38; if (newWidth != this->geometry.width || newHeight != this->geometry.height) { this->Resize(newWidth, newHeight); this->columns = (newWidth - 40) / 32;