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.
This commit is contained in:
parent
21c921a0f5
commit
0850ca9cfa
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue