prevented get.int function in libini from destroying edx

git-svn-id: svn://kolibrios.org@2603 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2012-04-12 10:13:30 +00:00
parent a34e3e8e18
commit f10b2375d4

View File

@ -459,7 +459,7 @@ locals
f_addr dd ?
endl
push ebx esi edi
push edx ebx esi edi
xor eax, eax
mov [f.fh], eax
@ -509,14 +509,14 @@ endl
@@: invoke file.close, [f.fh]
invoke mem.free, [f.buf]
mov eax, edx
pop edi esi ebx
pop edi esi ebx edx
ret
.exit_error:
invoke file.close, [f.fh]
invoke mem.free, [f.buf]
mov eax, [_def_val]
pop edi esi ebx
pop edi esi ebx edx
ret
endp