forked from KolibriOS/kolibrios
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:
parent
83209b237e
commit
3958c19fa5
@ -188,11 +188,11 @@ delete_dir:
|
|||||||
call start_error_window_thread
|
call start_error_window_thread
|
||||||
popa
|
popa
|
||||||
add esp,8+4
|
add esp,8+4
|
||||||
ret
|
jmp still
|
||||||
@@:
|
@@:
|
||||||
mov eax,[delete_dir_data+8]
|
mov eax,[delete_dir_data+8]
|
||||||
cmp eax,2
|
test eax,eax
|
||||||
ja @f
|
jnz @f
|
||||||
inc [current_progress_value]
|
inc [current_progress_value]
|
||||||
call progress_bar_delete
|
call progress_bar_delete
|
||||||
call del_file
|
call del_file
|
||||||
@ -202,7 +202,7 @@ delete_dir:
|
|||||||
call start_error_window_thread
|
call start_error_window_thread
|
||||||
popa
|
popa
|
||||||
add esp,8+4
|
add esp,8+4
|
||||||
ret
|
jmp still
|
||||||
@@:
|
@@:
|
||||||
imul eax,304
|
imul eax,304
|
||||||
add eax,32
|
add eax,32
|
||||||
@ -226,7 +226,7 @@ delete_dir:
|
|||||||
call start_error_window_thread
|
call start_error_window_thread
|
||||||
popa
|
popa
|
||||||
add esp,8+4
|
add esp,8+4
|
||||||
ret
|
jmp still
|
||||||
@@:
|
@@:
|
||||||
call delete_dir_1
|
call delete_dir_1
|
||||||
jc .1
|
jc .1
|
||||||
@ -249,6 +249,8 @@ delete_dir_1:
|
|||||||
mov ebp,[appl_memory_old]
|
mov ebp,[appl_memory_old]
|
||||||
mov ebp,[ebp+8]
|
mov ebp,[ebp+8]
|
||||||
.start:
|
.start:
|
||||||
|
test ebp,ebp
|
||||||
|
jz .continue_4
|
||||||
mov ebx,ebp
|
mov ebx,ebp
|
||||||
dec ebx
|
dec ebx
|
||||||
imul ebx,304
|
imul ebx,304
|
||||||
@ -298,7 +300,7 @@ delete_dir_1:
|
|||||||
popa
|
popa
|
||||||
add esp,8+4
|
add esp,8+4
|
||||||
ret
|
ret
|
||||||
.continue_2:
|
.continue_2:
|
||||||
clc
|
clc
|
||||||
ret
|
ret
|
||||||
.continue_3:
|
.continue_3:
|
||||||
|
@ -463,7 +463,7 @@ get_inf_dir:
|
|||||||
call start_error_window_thread
|
call start_error_window_thread
|
||||||
popa
|
popa
|
||||||
add esp,8+8
|
add esp,8+8
|
||||||
ret
|
jmp still
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
@@:
|
@@:
|
||||||
mov eax,[delete_dir_data+8]
|
mov eax,[delete_dir_data+8]
|
||||||
@ -492,7 +492,7 @@ get_inf_dir:
|
|||||||
call start_error_window_thread
|
call start_error_window_thread
|
||||||
popa
|
popa
|
||||||
add esp,8+8
|
add esp,8+8
|
||||||
ret
|
jmp still
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
@@:
|
@@:
|
||||||
cmp [nesting_direction],0
|
cmp [nesting_direction],0
|
||||||
@ -541,6 +541,8 @@ get_inf_dir_1:
|
|||||||
mov ebp,[ebp+8]
|
mov ebp,[ebp+8]
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
.start:
|
.start:
|
||||||
|
test ebp,ebp
|
||||||
|
jz .continue_4
|
||||||
mov ebx,ebp
|
mov ebx,ebp
|
||||||
dec ebx
|
dec ebx
|
||||||
imul ebx,304
|
imul ebx,304
|
||||||
|
Loading…
Reference in New Issue
Block a user