Box_Lib/Filebrowser - fix of parsing values the concatenations icons for INI file

git-svn-id: svn://kolibrios.org@1479 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2010-06-02 09:26:10 +00:00
parent 63480d7af3
commit 632489f702

View File

@ -811,6 +811,7 @@ fb_get_icon_number:
jz @f
call fb_char_toupper
shl ax,8
.search_start_of_line:
mov al,[ebx]
inc ebx
call fb_char_toupper
@ -819,12 +820,18 @@ fb_get_icon_number:
mov eax,ecx
jmp .search_association
@@:
mov eax,ecx
mov esi,eax
mov esi,ecx
add esi,ebp
cmp [esi],byte '='
jne .search_association
inc esi
lodsb
cmp al,byte '='
jne .end
mov eax,ecx
cmp eax,fb_ini_file_start
je @f
dec eax
cmp [eax],byte 15
ja .end
@@:
xor ebx,ebx
xor eax,eax
mov ecx,9