From 8a60fdd545ee938b8a1b595d963d2c2253748c47 Mon Sep 17 00:00:00 2001 From: imn Date: Wed, 16 Dec 2015 12:14:17 +0300 Subject: [PATCH] Minor correction for SpaceMouse --- 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 0c9af8ca6..2990db6d9 100644 --- a/src/SVTK/SVTK_SpaceMouse.cxx +++ b/src/SVTK/SVTK_SpaceMouse.cxx @@ -337,7 +337,7 @@ int SVTK_SpaceMouseXCB::setWindow( xcb_connection_t *connection, xcb_window_t wi { if ( error->error_code != BadWindow ) { - fprintf ( stderr, "SpaceMouse reported error = %s. Exit ... \n", "BadWindow"); + fprintf ( stderr, "SpaceMouse reported error = %d. Exit ... \n", error->error_code); } return 0; } -- 2.39.2