mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-07 23:59:22 +03:00
Check fts_info against FTS_NSOK for files
This commit is contained in:
parent
6b6cf85ba0
commit
375d3551fa
@ -157,7 +157,7 @@ bool Native::Execute(const CefString& name,
|
||||
continue;
|
||||
if (!recursive)
|
||||
fts_set(tree, entry, FTS_SKIP);
|
||||
if ((entry->fts_info & FTS_D) != 0 || (entry->fts_info & FTS_F) != 0)
|
||||
if (entry->fts_info == FTS_D || entry->fts_info == FTS_NSOK)
|
||||
retval->SetValue(index++, CefV8Value::CreateString(entry->fts_path));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user