From 7ee13facdfa4204f5cf3f15ac99ddbd19984f5d6 Mon Sep 17 00:00:00 2001 From: Marat Zakiyanov Date: Sat, 26 Mar 2022 15:36:35 +0000 Subject: [PATCH] File Browser control - choosing the correct icon for dir names starting with ".." git-svn-id: svn://kolibrios.org@9747 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/box_lib/trunk/filebrowser.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/develop/libraries/box_lib/trunk/filebrowser.asm b/programs/develop/libraries/box_lib/trunk/filebrowser.asm index 07c9955f0d..1a4ee349bc 100644 --- a/programs/develop/libraries/box_lib/trunk/filebrowser.asm +++ b/programs/develop/libraries/box_lib/trunk/filebrowser.asm @@ -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