diff --git a/src/platform/guiwin.cpp b/src/platform/guiwin.cpp index 8a54deed..70160bbc 100644 --- a/src/platform/guiwin.cpp +++ b/src/platform/guiwin.cpp @@ -1389,7 +1389,7 @@ WindowRef CreateWindow(Window::Kind kind, WindowRef parentWindow) { static HWND hSpaceWareDriverClass; void Open3DConnexion() { - HWND hSpaceWareDriverClass = FindWindowW(L"SpaceWare Driver Class", NULL); + hSpaceWareDriverClass = FindWindowW(L"SpaceWare Driver Class", NULL); if(hSpaceWareDriverClass != NULL) { SiInitialize(); }