From 24358f5af6774d8e19c4539167dc76597393a9ba Mon Sep 17 00:00:00 2001 From: goaaats Date: Mon, 24 Mar 2025 21:41:55 +0100 Subject: [PATCH] Fix warning in injector --- Dalamud.Injector/EntryPoint.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dalamud.Injector/EntryPoint.cs b/Dalamud.Injector/EntryPoint.cs index 4d26313a9..71c919179 100644 --- a/Dalamud.Injector/EntryPoint.cs +++ b/Dalamud.Injector/EntryPoint.cs @@ -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; }