File Browser control - choosing the correct icon for dir names starting with ".."

git-svn-id: svn://kolibrios.org@9747 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov 2022-03-26 15:36:35 +00:00
parent 69f261b5dd
commit 7ee13facdf

View File

@ -679,6 +679,8 @@ fb_draw_icon:
xor ebx,ebx
cmp [edx],word '..'
jne .draw
cmp [ebx+2],byte 0
jne .draw
mov ebx,eax ;16*16*3
.draw:
add ebx,fb_icon_raw_area