From: John F. Fay Date: Sat, 7 Nov 2009 02:16:38 +0000 (+0000) Subject: Removing spurious warning message from new freeglut spaceball support per e-mail... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=ee81383a1573bc3c4a149919126582ab133c1bc1;p=freeglut 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 --- 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) {