Decompile 10 functions in Source/Render/DX9/RendererDX9Operations.cpp, Source/Utility/Text/StringUtil.cpp, ...
Batch #13116 by KWDev: 10 byte-identical, 0 confirmed by peer review. - fn_02239 CRendererDX9::SetLighting: byte-identical - fn_02757 CountCharacters: byte-identical - fn_03898 UIChangeMaterialWnd_List::ShiftSelectedIndex: byte-identical - fn_04317 UIReputeWnd::SetPage: byte-identical - fn_09718 CSnapMgr::MoveConnected: byte-identical - fn_09918 UIRefining_Notice::Slot19: byte-identical - fn_10838 UIBitmapTab::Slot25: byte-identical - fn_17501 C3dActor::SetSpeed: byte-identical - fn_18836 CParticle::SetQuad: byte-identical - fn_19338 ReplayFileList::Select: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
3fb8648cbf
commit
daacec6d2f
10 changed files with 11 additions and 11 deletions
|
|
@ -97,7 +97,7 @@ int CountCharacters(WORD codePage, const char* text, const char* end) {
|
|||
int count = 0;
|
||||
while (*text != '\0' && (end == nullptr || text < end)) {
|
||||
text = CharNextExA(codePage, text, 0);
|
||||
if (end != nullptr && text > end) {
|
||||
if (end != nullptr && end < text) {
|
||||
break;
|
||||
}
|
||||
++count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue