fix bug in my fix bug

git-svn-id: svn://kolibrios.org@9223 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Doczom 2021-10-23 16:05:08 +00:00
parent bb36197cd2
commit 4f59e32470

View File

@ -5218,7 +5218,7 @@ syscall_writetext: ; WriteText
mov esi, 0 mov esi, 0
@@: @@:
stdcall is_region_userspace, edx, esi stdcall is_region_userspace, edx, esi
jnz .err jnz .err_1
pop esi pop esi
mov eax, [TASK_BASE] mov eax, [TASK_BASE]
@ -5245,6 +5245,8 @@ align 4
stdcall is_region_userspace, edi, 0 stdcall is_region_userspace, edi, 0
jnz .err jnz .err
jmp dtext jmp dtext
.err_1:
pop esi
.err: .err:
ret ret