Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 818 → Rev 819

/kernel/trunk/core/dll.inc
388,6 → 388,8
align 4
proc reg_service stdcall, name:dword, handler:dword
 
push ebx
 
xor eax, eax
 
cmp [name], eax
396,14 → 398,11
cmp [handler], eax
je .fail
 
push ebx
mov eax, SRV_SIZE
call malloc ;call alloc_service
pop ebx
test eax, eax
jz .fail
 
push ebx
push esi
push edi
mov edi, eax
429,6 → 428,7
ret
.fail:
xor eax, eax
pop ebx
ret
endp