diff --git a/src/dotnet/Interop.cs b/src/dotnet/Interop.cs index 7122bfa8..7081ef97 100644 --- a/src/dotnet/Interop.cs +++ b/src/dotnet/Interop.cs @@ -1436,8 +1436,8 @@ namespace Fsp.Interop String RegPath, DllName, DllPath; SYSTEM_INFO SystemInfo; GetSystemInfo(out SystemInfo); - switch ((UInt32)SystemInfo.wProcessorArchitecture) - { + switch ((UInt32)SystemInfo.wProcessorArchitecture) + { case SYSTEM_INFO.PROCESSOR_ARCHITECTURE_ARM64: RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\" + ProductName; DllName = ProductFileName + "-a64.dll"; @@ -1451,7 +1451,7 @@ namespace Fsp.Interop RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\" + ProductName; DllName = ProductFileName + "-x86.dll"; break; - } + } IntPtr Module; Module = LoadLibraryW(DllName); if (IntPtr.Zero == Module)