Skip to content

Commit 432ffbc

Browse files
committed
Another try.
1 parent da35911 commit 432ffbc

File tree

4 files changed

+2
-29
lines changed

4 files changed

+2
-29
lines changed

Hexa.NET.ImGui.Widgets.sln

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hexa.NET.ImGui.Widgets.Extr
1111
EndProject
1212
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PerformanceTests", "PerformanceTests\PerformanceTests.csproj", "{B0B1BFA5-9CB4-4811-9167-A8B7566EAF41}"
1313
EndProject
14-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MacTestThing", "MacTestThing\MacTestThing.csproj", "{E795FFEF-FC5E-4642-A352-4DC63705ADD5}"
15-
EndProject
1614
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hexa.NET.ImGui.Widgets.Tests", "Hexa.NET.ImGui.Widgets.Tests\Hexa.NET.ImGui.Widgets.Tests.csproj", "{E21C9162-0F05-459F-A1FE-6803036FD9B9}"
1715
EndProject
1816
Global
@@ -37,10 +35,6 @@ Global
3735
{B0B1BFA5-9CB4-4811-9167-A8B7566EAF41}.Debug|Any CPU.Build.0 = Debug|Any CPU
3836
{B0B1BFA5-9CB4-4811-9167-A8B7566EAF41}.Release|Any CPU.ActiveCfg = Release|Any CPU
3937
{B0B1BFA5-9CB4-4811-9167-A8B7566EAF41}.Release|Any CPU.Build.0 = Release|Any CPU
40-
{E795FFEF-FC5E-4642-A352-4DC63705ADD5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41-
{E795FFEF-FC5E-4642-A352-4DC63705ADD5}.Debug|Any CPU.Build.0 = Debug|Any CPU
42-
{E795FFEF-FC5E-4642-A352-4DC63705ADD5}.Release|Any CPU.ActiveCfg = Release|Any CPU
43-
{E795FFEF-FC5E-4642-A352-4DC63705ADD5}.Release|Any CPU.Build.0 = Release|Any CPU
4438
{E21C9162-0F05-459F-A1FE-6803036FD9B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
4539
{E21C9162-0F05-459F-A1FE-6803036FD9B9}.Debug|Any CPU.Build.0 = Debug|Any CPU
4640
{E21C9162-0F05-459F-A1FE-6803036FD9B9}.Release|Any CPU.ActiveCfg = Release|Any CPU

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -830,11 +830,11 @@ private static bool OSXTryReadDir(nint dirHandle, out OSXDirEnt dirEnt)
830830
private static FileMetadata OSXConvert(OSXDirEnt entry, StdString path)
831831
{
832832
MemoryDump(&entry);
833-
int length = NET.Utilities.Utils.StrLen(entry.d_name);
833+
int length = entry.d_namlen;
834834
StdWString str = new(path.Size + length);
835835
str.Append(path);
836836
str.Append('/');
837-
str.Append(entry.d_name);
837+
str.Append(entry.d_name, length);
838838
FileMetadata meta = new();
839839
meta.Path = str;
840840

MacTestThing/MacTestThing.csproj

Lines changed: 0 additions & 14 deletions
This file was deleted.

MacTestThing/Program.cs

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)