Remove dump of help strings in widgets

This commit is contained in:
Guillaume Melquiond 2004-09-10 17:23:09 +00:00
parent c760ff8355
commit df839fbc74
2 changed files with 2 additions and 2 deletions

View File

@ -751,7 +751,7 @@ void menu::process_help_string(int mousex, int mousey)
if(size_t(loc.second) < row.size()) {
const std::string& help = row[loc.second];
if(help.empty() == false) {
std::cerr << "setting help string from menu to '" << help << "'\n";
//std::cerr << "setting help string from menu to '" << help << "'\n";
help_string_ = display_->set_help_string(help);
}
}

View File

@ -203,7 +203,7 @@ void widget::process_help_string(int mousex, int mousey)
{
if(!hidden() && point_in_rect(mousex,mousey,location())) {
if(help_string_ == 0 && help_text_ != "") {
std::cerr << "setting help string to '" << help_text_ << "'\n";
//std::cerr << "setting help string to '" << help_text_ << "'\n";
help_string_ = disp().set_help_string(help_text_);
}
} else if(help_string_ > 0) {