From: nds Date: Tue, 28 Sep 2010 05:47:37 +0000 (+0000) Subject: It hides the error message from the terminal output. X-Git-Tag: V5_1_10~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2ae27e30a832ad7cc5509c4f4883fd663c53c970;p=modules%2Fgui.git It hides the error message from the terminal output. --- 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; }