mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix bug
This commit is contained in:
@ -586,11 +586,7 @@ namespace NSDirectory
|
||||
int GetFilesCount(const std::wstring& path, const bool& recursive)
|
||||
{
|
||||
std::vector<std::wstring> arrFiles = NSDirectory::GetFiles(path, recursive);
|
||||
#if defined(_WIN32) || defined (_WIN64)
|
||||
return (int)arrFiles.size();
|
||||
#endif
|
||||
return (int)arrFiles.size() + 1;
|
||||
// ???
|
||||
}
|
||||
bool PathIsDirectory(const std::wstring& pathName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user