wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src/widgets menu.cpp widget.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src/widgets menu.cpp widget.cpp
Date: Fri, 10 Sep 2004 13:28:10 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    04/09/10 17:23:09

Modified files:
        src/widgets    : menu.cpp widget.cpp 

Log message:
        Remove dump of help strings in widgets

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/widgets/menu.cpp.diff?tr1=1.59&tr2=1.60&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/widgets/widget.cpp.diff?tr1=1.19&tr2=1.20&r1=text&r2=text

Patches:
Index: wesnoth/src/widgets/menu.cpp
diff -u wesnoth/src/widgets/menu.cpp:1.59 wesnoth/src/widgets/menu.cpp:1.60
--- wesnoth/src/widgets/menu.cpp:1.59   Sun Aug 29 11:12:20 2004
+++ wesnoth/src/widgets/menu.cpp        Fri Sep 10 17:23:08 2004
@@ -751,7 +751,7 @@
                        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);
                                }
                        }
Index: wesnoth/src/widgets/widget.cpp
diff -u wesnoth/src/widgets/widget.cpp:1.19 wesnoth/src/widgets/widget.cpp:1.20
--- wesnoth/src/widgets/widget.cpp:1.19 Sun Aug 29 16:09:57 2004
+++ wesnoth/src/widgets/widget.cpp      Fri Sep 10 17:23:09 2004
@@ -203,7 +203,7 @@
 {
        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) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]