forked from KolibriOS/kolibrios
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:
parent
a34e3e8e18
commit
f10b2375d4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user