Fix warning in injector

This commit is contained in:
goaaats 2025-03-24 21:41:55 +01:00
parent 5dcd1cc52f
commit 24358f5af6

View file

@ -419,7 +419,9 @@ namespace Dalamud.Injector
}
OSPlatform platform;
if (platformStr[0..(len = Math.Min(platformStr.Length, (key = "win").Length))] == key[0..len]) // covers both win32 and Windows
// covers both win32 and Windows
if (platformStr[0..(len = Math.Min(platformStr.Length, (key = "win").Length))] == key[0..len])
{
platform = OSPlatform.Windows;
}