Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3731 → Rev 3730

/programs/fs/kfm/trunk/tran_ini.inc
1,9 → 1,6
;---------------------------------------------------------------------
get_icon_number:
mov ebp,[extension_size] ;[icons_end_tag]
test ebp,ebp
jz .end
call normalize_extension_of_file
mov edx,[icons_end_tag]
mov edi,[ini_file_start]
dec edi
10,7 → 7,7
.search_association:
cmp edx,edi
jbe .end
mov esi,extension_temp_storage
mov esi,[extension_start]
mov ecx,ebp
test ecx,ecx
je @f
54,20 → 51,6
sub eax,0x30
ret
;---------------------------------------------------------------------
normalize_extension_of_file:
push edi
mov esi,[extension_start]
mov edi,extension_temp_storage
cld
@@:
lodsb
call char_todown
stosb
test al,al
jnz @b
pop edi
ret
;---------------------------------------------------------------------
open_file_with_appl_1:
mov ebp,files_associations_1
jmp open_file_with_appl.1
81,11 → 64,10
call search_star_and_end_tags
cmp ebp,-1
je .end
call normalize_extension_of_file
.search_association:
cmp [end_tag],edi
jbe .end
mov esi,extension_temp_storage
mov esi,[extension_start] ;extension_temp_area
mov ecx,[extension_size]
inc edi
cld