Author: ilor
Date: Wed Jul 16 15:24:43 2008
New Revision: 28051

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28051&view=rev
Log:
rm debug code

Modified:
    trunk/src/controller_base.cpp

Modified: trunk/src/controller_base.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/controller_base.cpp?rev=28051&r1=28050&r2=28051&view=diff
==============================================================================
--- trunk/src/controller_base.cpp (original)
+++ trunk/src/controller_base.cpp Wed Jul 16 15:24:43 2008
@@ -211,15 +211,12 @@
        hotkey::HOTKEY_COMMAND command;
        std::vector<std::string>::iterator i = items.begin();
        while(i != items.end()) {
-               std::cerr << hotkey::get_hotkey(*i).get_command();
                command = hotkey::get_hotkey(*i).get_id();
                if(!can_execute_command(command)
                || (context_menu && !in_context_menu(command))) {
-                       std::cerr << " - erasing\n";
                        i = items.erase(i);
                        continue;
                }
-               std::cerr << "\n";
                ++i;
        }
        if(items.empty())


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to