From 2ae27e30a832ad7cc5509c4f4883fd663c53c970 Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 28 Sep 2010 05:47:37 +0000 Subject: [PATCH] It hides the error message from the terminal output. --- src/SVTK/SVTK_SpaceMouse.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SVTK/SVTK_SpaceMouse.cxx b/src/SVTK/SVTK_SpaceMouse.cxx index 7d858a780..62275e4d6 100644 --- a/src/SVTK/SVTK_SpaceMouse.cxx +++ b/src/SVTK/SVTK_SpaceMouse.cxx @@ -94,7 +94,7 @@ static int errorCallback( Display *display, XErrorEvent *Error ) char msg[ 128 ]; if ( Error->error_code != BadWindow ) { XGetErrorText( display,Error->error_code,msg,sizeof( msg ) ); - fprintf( stderr, "SpaceMouse reported error = %s. Exit ... \n", msg ); + //fprintf( stderr, "SpaceMouse reported error = %s. Exit ... \n", msg ); } return 0; } -- 2.39.2