Skip to content

Commit 03a70c8

Browse files
committed
Another try.
1 parent 25f0474 commit 03a70c8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,9 @@ private static FileMetadata OSXConvert(OSXDirEnt entry, StdString path)
868868

869869
private static void OSXFileStat(StdWString str, out OSXStat stat)
870870
{
871+
Console.WriteLine($"OSXFileStat -> Ptr: {(nint)str.Data}");
871872
int strSize0 = Encoding.UTF8.GetByteCount(str.Data, str.Size);
873+
Console.WriteLine($"OSXFileStat -> Ptr: {(nint)str.Data}");
872874
byte* pStr0;
873875
if (strSize0 >= Utils.MaxStackallocSize)
874876
{
@@ -881,9 +883,9 @@ private static void OSXFileStat(StdWString str, out OSXStat stat)
881883
}
882884
Encoding.UTF8.GetBytes(str.Data, str.Size, pStr0, strSize0);
883885
pStr0[strSize0] = 0;
884-
886+
Console.WriteLine($"OSXFileStat -> Ptr: {(nint)str.Data}");
885887
OSXFileStat(pStr0, out stat);
886-
888+
Console.WriteLine($"OSXFileStat -> Ptr: {(nint)str.Data}");
887889
if (strSize0 >= Utils.MaxStackallocSize)
888890
{
889891
Utils.Free(pStr0);

0 commit comments

Comments
 (0)