diff --git a/programs/fs/kfm/trunk/draw.inc b/programs/fs/kfm/trunk/draw.inc index 34f47ecec8..0ad964d215 100644 --- a/programs/fs/kfm/trunk/draw.inc +++ b/programs/fs/kfm/trunk/draw.inc @@ -232,6 +232,9 @@ draw_icon: cmp [edx],word '..' jne .draw + cmp [edx+2],byte 0 + jne .draw + add ebx,270 ;*17 ;-------------------------------------- .draw: diff --git a/programs/fs/kfm/trunk/key.inc b/programs/fs/kfm/trunk/key.inc index 13e1f15bdb..c62d0dbbef 100644 --- a/programs/fs/kfm/trunk/key.inc +++ b/programs/fs/kfm/trunk/key.inc @@ -426,7 +426,10 @@ key_28: cmp [esi+40],word 2Eh je still cmp [esi+40],word '..' + jne @f + cmp [esi+40+2],byte 0 je .up_patch +@@: call calculate_key_28_1 mov [left_start_draw_cursor_line],0 mov [left_start_draw_line],0 @@ -445,7 +448,10 @@ key_28: cmp [esi+40],word 2Eh je still cmp [esi+40],word '..' + jne @f + cmp [esi+40+2],byte 0 je .up_patch_1 +@@: call calculate_key_28_1 mov [right_start_draw_cursor_line],0 mov [right_start_draw_line],0