From bfdddec67c70a18f7fe4ce4a4cd26198d62f2080 Mon Sep 17 00:00:00 2001 From: arturo Date: Wed, 10 Jul 2013 12:57:05 +0200 Subject: [PATCH] win32_window.c: trying to fix includes --- src/win32_window.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/win32_window.c b/src/win32_window.c index 05009bcb..41abb4f2 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -33,6 +33,7 @@ #include #include #include +#include #define _GLFW_KEY_INVALID -2 @@ -715,7 +716,8 @@ 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,8 +755,8 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, _glfwInputDrop(window,_glfw.win32.dropString); DragFinish(hDrop); + break; } - break; } return DefWindowProc(hWnd, uMsg, wParam, lParam);