diff --git a/readme.html b/readme.html
index 36f0ce47..eb18fced 100644
--- a/readme.html
+++ b/readme.html
@@ -324,6 +324,7 @@ version of GLFW.
[Win32] Bugfix: Window activation and iconification did not work as expected
[Win32] Bugfix: Software rasterizer pixel formats were not discarded by the WGL_ARB_pixel_format code path
[Win32] Bugfix: The array for WGL context attributes was too small and could overflow
+ [Win32] Bugfix: Alt+F4 hot key was not translated into WM_CLOSE
v2.7
diff --git a/src/win32_window.c b/src/win32_window.c
index 2fb82943..24788a33 100644
--- a/src/win32_window.c
+++ b/src/win32_window.c
@@ -895,7 +895,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
if (_glfwLibrary.charCallback)
translateChar(window, (DWORD) wParam, (DWORD) lParam);
- return 0;
+ break;
}
case WM_KEYUP:
@@ -910,7 +910,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
else
_glfwInputKey(window, translateKey(wParam, lParam), GLFW_RELEASE);
- return 0;
+ break;
}
case WM_LBUTTONDOWN: