forked from KolibriOS/kolibrios
Fix OpenDialog - test for empty directory
git-svn-id: svn://kolibrios.org@1477 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6db5aa0119
commit
78ac700d57
@ -1793,12 +1793,18 @@ load_directory:
|
||||
test eax,eax
|
||||
jnz .error
|
||||
|
||||
; test for empty directory
|
||||
mov eax,[dirinfo.return]
|
||||
mov eax,[eax+4]
|
||||
test eax,eax
|
||||
jz @f
|
||||
|
||||
call delete_point_dir
|
||||
call files_name_normalize
|
||||
call check_filter
|
||||
call prepare_extension_and_mark
|
||||
call clear_data_fb_and_sb
|
||||
|
||||
@@:
|
||||
ret
|
||||
|
||||
.error:
|
||||
|
Loading…
Reference in New Issue
Block a user