From e5f4da0e9ab072be501e0d34b2b7b283825f7253 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 18 Jul 2002 22:38:46 +0000 Subject: [PATCH] Problem reported by Erik Hofman: Replaced left-over std::cout statements with SG_LOG statements. --- src/Input/input.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Input/input.cxx b/src/Input/input.cxx index 25d53645d..b3c57880c 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -484,14 +484,15 @@ FGInput::_init_joystick () } else { #ifdef FG_PLIB_JOYSTICK_GETNAME const char * name = js->getName(); - std::cout << "Looking for bindings for joystick \"" - << name << '"' << std::endl; + SG_LOG(SG_INPUT, SG_INFO, "Looking for bindings for joystick \"" + << name << '"'); vector nodes = js_nodes->getChildren("js-named"); for (unsigned int i = 0; i < nodes.size(); i++) { SGPropertyNode_ptr node = nodes[i]; - std::cout << " Trying \"" << node->getStringValue("name") << '"' << std::endl; + SG_LOG(SG_INPUT, SG_INFO, + " Trying \"" << node->getStringValue("name") << '"'); if (!strcmp(node->getStringValue("name"), name)) { - std::cout << " Found bindings" << std::endl; + SG_LOG(SG_INPUT, SG_INFO, " Found bindings"); js_node = node; break; } -- 2.39.5