forked from KolibriOS/kolibrios
kiv: small optimization
git-svn-id: svn://kolibrios.org@1475 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
c5397f9cf2
commit
0d82157aac
@ -212,23 +212,23 @@ button:
|
||||
|
||||
mov esi, path
|
||||
mov edi, @PARAMS
|
||||
push edi
|
||||
mov ecx, 4096/4
|
||||
rep movsd
|
||||
mov byte [edi-1], 0
|
||||
|
||||
mov esi, @PARAMS
|
||||
pop esi
|
||||
push esi
|
||||
call find_last_name_component
|
||||
|
||||
|
||||
pop eax
|
||||
push [image]
|
||||
mov eax, path
|
||||
call load_image
|
||||
jc .restore_old
|
||||
call generate_header
|
||||
|
||||
invoke img.destroy
|
||||
call free_directory
|
||||
pop eax ; pop for [image]
|
||||
jmp red
|
||||
|
||||
.restore_old:
|
||||
|
Loading…
Reference in New Issue
Block a user