app_plus: show message if /kolibrios/settings/app_plus.ini not found

git-svn-id: svn://kolibrios.org@6251 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2016-02-19 00:33:21 +00:00
parent 036bb48ceb
commit 3f4201dc21
9 changed files with 38 additions and 25 deletions

View File

@@ -57,7 +57,7 @@ void SetPropertiesDir(dword way)
{
dword dirbuf, fcount, i, filename;
dword cur_file;
if (isdir(way))
if (dir_exists(way))
{
cur_file = malloc(4096);
GetDir(#dirbuf, #fcount, way, DIRS_ONLYREAL);
@@ -105,7 +105,7 @@ void SetProperties(byte prop)
SetFileInfo(cur_file, #file_info_general);
if (prop==2)
{
if (isdir(cur_file))
if (dir_exists(cur_file))
{
SetPropertiesDir(cur_file);
}
@@ -155,7 +155,7 @@ void GetSizeDir(dword way)
{
dword dirbuf, fcount, i, filename;
dword cur_file;
if (isdir(way))
if (dir_exists(way))
{
cur_file = malloc(4096);
// In the process of recursive descent, memory must be allocated dynamically,