mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Fix warning in injector
This commit is contained in:
parent
5dcd1cc52f
commit
24358f5af6
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue