Apply suggestions from code review

Co-authored-by: Sergio Pedri <[email protected]>
このコミットが含まれているのは:
Michael A. HawkerとSergio Pedri committed 2021-11-07 14:21:25 -08:00
1 親 e28d8b30c0
コミット 07ff110db3
2ファイル変更
+6 -4

検索条件に一致するファイルはありません

+2 -2
ファイルの表示
@@ -149,8 +149,8 @@ internal unsafe static class Win32ApplicationRunner
Thread.Sleep(100);
}
// Also listen to Escape and 'Q' to Quit.
if (msg.message == Windows.WM_KEYUP && (msg.wParam == Windows.VK_ESCAPE || msg.wParam == 0x51))
// Also listen to Escape and 'Q' to quit
if (msg.message == Windows.WM_KEYUP && (msg.wParam == Windows.VK_ESCAPE || msg.wParam == 'Q'))
{
_ = Windows.DestroyWindow(hwnd);
}