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 jz @f
call fb_char_toupper call fb_char_toupper
shl ax,8 shl ax,8
.search_start_of_line:
mov al,[ebx] mov al,[ebx]
inc ebx inc ebx
call fb_char_toupper call fb_char_toupper
@ -819,12 +820,18 @@ fb_get_icon_number:
mov eax,ecx mov eax,ecx
jmp .search_association jmp .search_association
@@: @@:
mov eax,ecx mov esi,ecx
mov esi,eax
add esi,ebp add esi,ebp
cmp [esi],byte '=' lodsb
jne .search_association cmp al,byte '='
inc esi 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 ebx,ebx
xor eax,eax xor eax,eax
mov ecx,9 mov ecx,9