forgot return value in C-api
authorJean-Luc Peurière <jlp@nerim.net>
Fri, 14 Mar 2008 19:44:32 +0000 (19:44 +0000)
committerJean-Luc Peurière <jlp@nerim.net>
Fri, 14 Mar 2008 19:44:32 +0000 (19:44 +0000)
spotted by JM Soler

intern/ghost/intern/GHOST_C-api.cpp

index 8c93788ee1b7cf6b93491d60136fa65571a793ec..fe5ed2bf86a38f6ecbf15b320df3f5a71201edf0 100644 (file)
@@ -268,7 +268,7 @@ int GHOST_OpenNDOF(GHOST_SystemHandle systemhandle, GHOST_WindowHandle windowhan
 {
        GHOST_ISystem* system = (GHOST_ISystem*) systemhandle;
 
-    system->openNDOF((GHOST_IWindow*) windowhandle,
+    return system->openNDOF((GHOST_IWindow*) windowhandle,
         setNdofLibraryInit, setNdofLibraryShutdown, setNdofDeviceOpen);
 //     original patch
 //        setNdofLibraryInit, setNdofLibraryShutdown, setNdofDeviceOpen, setNdofEventHandler);