From ae9bb3e9b9b0cebb8fb21eda004679b4752d5fe7 Mon Sep 17 00:00:00 2001 From: arturo Date: Wed, 10 Jul 2013 12:47:30 +0200 Subject: [PATCH] win32_window: fix case scope --- src/win32_window.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/win32_window.c b/src/win32_window.c index c5f4faf9..05009bcb 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -715,7 +715,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, // TODO: Restore vsync if compositing was disabled break; } - case WM_DROPFILES: + case WM_DROPFILES:{ // DragQueryFile() takes a LPWSTR for the name so we need a TCHAR string TCHAR szName[MAX_PATH]; @@ -753,7 +753,8 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, _glfwInputDrop(window,_glfw.win32.dropString); DragFinish(hDrop); - break; + } + break; } return DefWindowProc(hWnd, uMsg, wParam, lParam);