Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.
This commit is contained in:
@ -843,8 +843,8 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
if (wParam==VK_WIN) TODO wtf is this?
|
||||
meta_mem=uMsg==WM_KEYDOWN;
|
||||
*/
|
||||
|
||||
} //fallthrough
|
||||
FALLTHROUGH;
|
||||
}
|
||||
case WM_CHAR: {
|
||||
|
||||
ERR_BREAK(key_event_pos >= KEY_EVENT_BUFFER_SIZE);
|
||||
|
||||
Reference in New Issue
Block a user