astyle formatting

This commit is contained in:
Daniel Marjamäki 2015-12-14 10:41:04 +01:00
parent 0cc003830a
commit 3082612e6d
1 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,7 @@ bool FileLister::isDirectory(const std::string &path)
struct stat file_stat;
if (stat(path.c_str(), &file_stat) != -1)
return ((file_stat.st_mode & S_IFMT) == S_IFDIR);
return false;
}
@ -244,7 +244,7 @@ bool FileLister::fileExists(const std::string &path)
struct stat file_stat;
if (stat(path.c_str(), &file_stat) != -1)
return ((file_stat.st_mode & S_IFMT) == S_IFREG);
return false;
}