switch (wParam) {
case VK_DIVIDE:
term_no_press = TRUE;
+ [[fallthrough]]; /* Fall through */
case VK_RETURN:
numpad = ext_key;
break;
case VK_SEPARATOR:
case VK_DECIMAL:
term_no_press = TRUE;
+ [[fallthrough]]; /* Fall through */
case VK_CLEAR:
case VK_HOME:
case VK_END:
if ((HWND)wParam == hWnd)
return 0;
}
+ [[fallthrough]]; /* Fall through */
case WM_QUERYNEWPALETTE: {
if (!paletted)
return 0;
}
}
}
+ [[fallthrough]]; /* Fall through */
case WM_ENABLE: {
if (wParam == FALSE && keep_subwindows) {
for (int i = 0; i < MAX_TERM_DATA; i++) {
if ((HWND)wParam == hWnd)
return FALSE;
}
+ [[fallthrough]]; /* Fall through */
case WM_QUERYNEWPALETTE: {
if (!paletted)
return 0;
/*!
* @brief (Windows固有)Windowsアプリケーションとしてのエントリポイント
*/
-int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow)
+int WINAPI WinMain(_In_ HINSTANCE hInst, _In_opt_ HINSTANCE hPrevInst, _In_ LPSTR lpCmdLine, _In_ int nCmdShow)
{
WNDCLASS wc;
HDC hdc;