We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df42a0 commit 1bf5733Copy full SHA for 1bf5733
Flow.Launcher.Infrastructure/Win32Helper.cs
@@ -351,7 +351,7 @@ private static unsafe HKL FindEnglishKeyboardLayout()
351
fixed (HKL* h = handles)
352
{
353
var result = PInvoke.GetKeyboardLayoutList(count, h);
354
- if (result != 0)
+ if (result == 0)
355
356
throw new Win32Exception(Marshal.GetLastWin32Error());
357
}
0 commit comments