KFM - fixed get_inf_dir and delete_dir for some cases

git-svn-id: svn://kolibrios.org@9754 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov 2022-03-30 21:55:55 +00:00
parent 83209b237e
commit 3958c19fa5
2 changed files with 12 additions and 8 deletions

View File

@ -188,11 +188,11 @@ delete_dir:
call start_error_window_thread
popa
add esp,8+4
ret
jmp still
@@:
mov eax,[delete_dir_data+8]
cmp eax,2
ja @f
test eax,eax
jnz @f
inc [current_progress_value]
call progress_bar_delete
call del_file
@ -202,7 +202,7 @@ delete_dir:
call start_error_window_thread
popa
add esp,8+4
ret
jmp still
@@:
imul eax,304
add eax,32
@ -226,7 +226,7 @@ delete_dir:
call start_error_window_thread
popa
add esp,8+4
ret
jmp still
@@:
call delete_dir_1
jc .1
@ -249,6 +249,8 @@ delete_dir_1:
mov ebp,[appl_memory_old]
mov ebp,[ebp+8]
.start:
test ebp,ebp
jz .continue_4
mov ebx,ebp
dec ebx
imul ebx,304

View File

@ -463,7 +463,7 @@ get_inf_dir:
call start_error_window_thread
popa
add esp,8+8
ret
jmp still
;--------------------------------------
@@:
mov eax,[delete_dir_data+8]
@ -492,7 +492,7 @@ get_inf_dir:
call start_error_window_thread
popa
add esp,8+8
ret
jmp still
;--------------------------------------
@@:
cmp [nesting_direction],0
@ -541,6 +541,8 @@ get_inf_dir_1:
mov ebp,[ebp+8]
;--------------------------------------
.start:
test ebp,ebp
jz .continue_4
mov ebx,ebp
dec ebx
imul ebx,304