mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 18:24:10 +00:00
Remove dump of help strings in widgets
This commit is contained in:
parent
c760ff8355
commit
df839fbc74
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user