From ee81383a1573bc3c4a149919126582ab133c1bc1 Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Sat, 7 Nov 2009 02:16:38 +0000 Subject: [PATCH] Removing spurious warning message from new freeglut spaceball support per e-mail from John Tsiombikas dated 11/06/09 12:19 PM git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@838 7f0cb862-5218-0410-a997-914c9d46530a --- src/freeglut_spaceball.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/freeglut_spaceball.c b/src/freeglut_spaceball.c index 0bec833..7816f66 100644 --- a/src/freeglut_spaceball.c +++ b/src/freeglut_spaceball.c @@ -63,10 +63,8 @@ void fgInitialiseSpaceball(void) { Window w; - if(!fgStructure.CurrentWindow) { - fgWarning("fgInitialiseSpaceball: no current window!\n"); + if(!fgStructure.CurrentWindow) return; - } w = fgStructure.CurrentWindow->Window.Handle; if(spnav_x11_open(fgDisplay.Display, w) == -1) { -- 1.7.10.4