kiv: small optimization

git-svn-id: svn://kolibrios.org@1475 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2010-05-30 18:57:44 +00:00
parent c5397f9cf2
commit 0d82157aac

View File

@ -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: