git-svn-id: svn://kolibrios.org@6930 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2017-07-04 15:14:51 +00:00
parent 8b1036ed49
commit 00b4e63b4e
5 changed files with 19 additions and 16 deletions

View File

@@ -200,7 +200,7 @@
:char dir_exists(dword fpath)
{
BDVK fpath_atr;
GetFileInfo(fpath, #fpath_atr);
if (GetFileInfo(fpath, #fpath_atr) != 0) return false;
return fpath_atr.isfolder;
}
:char file_exists(dword fpath)