OpenDialog - not process the file path if the directory consisting zero amount of files.

git-svn-id: svn://kolibrios.org@3983 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2013-10-07 22:17:19 +00:00
parent 818a0e4636
commit 2ccb0295c9

View File

@ -658,6 +658,11 @@ button:
jmp still
;---------------------------------------------------------------------
.open_dir_or_file:
mov eax,[file_browser_data_1.folder_data]
mov eax,[eax+4]
test eax,eax
jz button.exit
cmp [open_dialog_type],2 ;Select dir
je file_no_folder