KFM - fix show icon and fix key/mouse processing for dir names starting with ".."
git-svn-id: svn://kolibrios.org@9749 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ed61181c2a
commit
fe6931589b
@ -232,6 +232,9 @@ draw_icon:
|
|||||||
cmp [edx],word '..'
|
cmp [edx],word '..'
|
||||||
jne .draw
|
jne .draw
|
||||||
|
|
||||||
|
cmp [edx+2],byte 0
|
||||||
|
jne .draw
|
||||||
|
|
||||||
add ebx,270 ;*17
|
add ebx,270 ;*17
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
.draw:
|
.draw:
|
||||||
|
@ -426,7 +426,10 @@ key_28:
|
|||||||
cmp [esi+40],word 2Eh
|
cmp [esi+40],word 2Eh
|
||||||
je still
|
je still
|
||||||
cmp [esi+40],word '..'
|
cmp [esi+40],word '..'
|
||||||
|
jne @f
|
||||||
|
cmp [esi+40+2],byte 0
|
||||||
je .up_patch
|
je .up_patch
|
||||||
|
@@:
|
||||||
call calculate_key_28_1
|
call calculate_key_28_1
|
||||||
mov [left_start_draw_cursor_line],0
|
mov [left_start_draw_cursor_line],0
|
||||||
mov [left_start_draw_line],0
|
mov [left_start_draw_line],0
|
||||||
@ -445,7 +448,10 @@ key_28:
|
|||||||
cmp [esi+40],word 2Eh
|
cmp [esi+40],word 2Eh
|
||||||
je still
|
je still
|
||||||
cmp [esi+40],word '..'
|
cmp [esi+40],word '..'
|
||||||
|
jne @f
|
||||||
|
cmp [esi+40+2],byte 0
|
||||||
je .up_patch_1
|
je .up_patch_1
|
||||||
|
@@:
|
||||||
call calculate_key_28_1
|
call calculate_key_28_1
|
||||||
mov [right_start_draw_cursor_line],0
|
mov [right_start_draw_cursor_line],0
|
||||||
mov [right_start_draw_line],0
|
mov [right_start_draw_line],0
|
||||||
|
Loading…
Reference in New Issue
Block a user