summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorhbina085 <hanif.ariffin.4326@gmail.com>2019-06-28 23:09:59 -0400
committerhbina085 <hanif.ariffin.4326@gmail.com>2019-06-29 16:08:48 -0400
commit9f0c6a60095025cb7f67a36ffa81e8709d645a66 (patch)
tree2d4419aaf70b84fe81e26dc9227ef6940437d217 /platform/windows
parent3942c939e3ed152d4cf9647411f34d1bc14cdec2 (diff)
Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.
Diffstat (limited to 'platform/windows')
-rw-r--r--platform/windows/os_windows.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index 5876a385c6..e535f6a148 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -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);