From a5bd13214373aedde5aeda6c925f721367869f7a Mon Sep 17 00:00:00 2001 From: ehofman Date: Tue, 16 Sep 2003 08:25:16 +0000 Subject: [PATCH] Make sure the joystick name gets printed --- src/Input/js_demo.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Input/js_demo.cxx b/src/Input/js_demo.cxx index cdce31427..cb592a573 100644 --- a/src/Input/js_demo.cxx +++ b/src/Input/js_demo.cxx @@ -28,9 +28,7 @@ int main ( int, char ** ) { useful[i] = ! ( js[i]->notWorking () ); if ( useful[i] ) { t++; -#ifdef FG_PLIB_JOYSTICK_GETNAME printf ( "Joystick %i: \"%s\"\n", i, js[i]->getName() ) ; -#endif } else printf ( "Joystick %i not detected\n", i ) ; } if ( t == 0 ) exit ( 1 ) ;