|
From: Yoda-JM <yo...@us...> - 2010-08-25 11:50:28
|
Module: performous
Branch: master
Commit: 8e7a9b20212d161a10ebaf634103a6fc0251c8cd
Author: Vincent Le Ligeour <yo...@us...>
Date: Wed Aug 25 13:50:33 2010 +0200
Moved a controller error to the new logging feature
---
game/joystick.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/joystick.cc b/game/joystick.cc
index e4ee20f..a9f92a1 100644
--- a/game/joystick.cc
+++ b/game/joystick.cc
@@ -367,7 +367,7 @@ void input::SDL::init() {
ConfigItem::StringList const& instruments = config["game/instruments"].sl();
for (ConfigItem::StringList::const_iterator it = instruments.begin(); it != instruments.end(); ++it) {
if (!regex_search(it->c_str(), what, match_force)) {
- std::cerr << "Error \"" << *it << "\" is not a valid instrument forced value" << std::endl;
+ std::clog << "controllers/error: " << *it << "\" is not a valid instrument forced value" << std::endl;
continue;
} else {
unsigned int sdl_id = boost::lexical_cast<unsigned int>(what[1]);
|