Skip to content

Commit 45a8e49

Browse files
committed
Another try.
1 parent 4677062 commit 45a8e49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Hexa.NET.ImGui.Widgets/Dialogs/FileUtilities.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,9 +838,10 @@ private static FileMetadata OSXConvert(OSXDirEnt entry, StdString path)
838838
str.Append(entry.d_name, length);
839839
*(str.Data + str.Size) = '\0';
840840

841+
FileMetadata meta = new();
842+
841843
OSXFileStat(str, out var stat);
842844

843-
FileMetadata meta = new();
844845
meta.Path = str;
845846
meta.CreationTime = stat.st_ctimespec;
846847
meta.LastAccessTime = stat.st_atimespec;

0 commit comments

Comments
 (0)