win32_window: fix case scope

This commit is contained in:
arturo 2013-07-10 12:47:30 +02:00
parent f383cc8289
commit ae9bb3e9b9

View File

@ -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);