dotnet: Interop.cs: fix newlines

This commit is contained in:
Bill Zissimopoulos 2022-02-03 16:15:24 +00:00
parent 2ed46a39fa
commit 0c90a69b27
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -1436,8 +1436,8 @@ namespace Fsp.Interop
String RegPath, DllName, DllPath; String RegPath, DllName, DllPath;
SYSTEM_INFO SystemInfo; SYSTEM_INFO SystemInfo;
GetSystemInfo(out SystemInfo); GetSystemInfo(out SystemInfo);
switch ((UInt32)SystemInfo.wProcessorArchitecture) switch ((UInt32)SystemInfo.wProcessorArchitecture)
{ {
case SYSTEM_INFO.PROCESSOR_ARCHITECTURE_ARM64: case SYSTEM_INFO.PROCESSOR_ARCHITECTURE_ARM64:
RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\" + ProductName; RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\" + ProductName;
DllName = ProductFileName + "-a64.dll"; DllName = ProductFileName + "-a64.dll";
@ -1451,7 +1451,7 @@ namespace Fsp.Interop
RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\" + ProductName; RegPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\" + ProductName;
DllName = ProductFileName + "-x86.dll"; DllName = ProductFileName + "-x86.dll";
break; break;
} }
IntPtr Module; IntPtr Module;
Module = LoadLibraryW(DllName); Module = LoadLibraryW(DllName);
if (IntPtr.Zero == Module) if (IntPtr.Zero == Module)