is_region_userspace: removed extra condition which caused incorrect behavior of boxlib menu in hexedit and rtfread (cuz it uses address 0 i didnt know:D )

git-svn-id: svn://kolibrios.org@8493 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Rustem Gimadutdinov (rgimad) 2020-12-29 13:45:08 +00:00
parent f81b4538a5
commit 906e6d8dce

View File

@ -5692,12 +5692,6 @@ proc is_region_userspace stdcall, base:dword, len:dword
cmp eax, OS_BASE
ja @f
mov ebx, 0xFFFFFFFF
sub ebx, [base]
inc ebx
cmp [len], ebx
ja @f
add eax, [len]
cmp eax, OS_BASE
ja @f