mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-27 09:50:10 +00:00
separation of file-only, folder-only and file-or-folder selection paths, slight tweaks to filesystem lister behavior for each; other small visual tweaks/fixes
This commit is contained in:
@@ -2087,6 +2087,10 @@ df_entity_from_path(String8 path, DF_EntityFromPathFlags flags)
|
||||
next_parent->timestamp = file_properties.modified;
|
||||
next_parent->flags |= DF_EntityFlag_IsFolder * !!(file_properties.flags & FilePropertyFlag_IsFolder);
|
||||
next_parent->flags |= DF_EntityFlag_IsMissing * !!(file_properties.created == 0);
|
||||
if(path_part_n->next != 0)
|
||||
{
|
||||
next_parent->flags |= DF_EntityFlag_IsFolder;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -2142,6 +2146,10 @@ df_entity_from_path(String8 path, DF_EntityFromPathFlags flags)
|
||||
next_parent->timestamp = file_properties.modified;
|
||||
next_parent->flags |= DF_EntityFlag_IsFolder * !!(file_properties.flags & FilePropertyFlag_IsFolder);
|
||||
next_parent->flags |= DF_EntityFlag_IsMissing * !!(file_properties.created == 0);
|
||||
if(path_part_n->next != 0)
|
||||
{
|
||||
next_parent->flags |= DF_EntityFlag_IsFolder;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user