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

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

[Wesnoth-cvs-commits] wesnoth/src reports.cpp


From: Cedric Duval
Subject: [Wesnoth-cvs-commits] wesnoth/src reports.cpp
Date: Thu, 04 Nov 2004 03:38:01 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Cedric Duval <address@hidden>   04/11/04 08:24:24

Modified files:
        src            : reports.cpp 

Log message:
        Reverting.
        
        The proper fix is currently anything but trivial. Time definitions are
        WML parsed, and even worse, they are ifdef'ed. De-correlating definition
        and actual use could be a first step.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/reports.cpp.diff?tr1=1.51&tr2=1.52&r1=text&r2=text

Patches:
Index: wesnoth/src/reports.cpp
diff -u wesnoth/src/reports.cpp:1.51 wesnoth/src/reports.cpp:1.52
--- wesnoth/src/reports.cpp:1.51        Thu Nov  4 00:08:08 2004
+++ wesnoth/src/reports.cpp     Thu Nov  4 08:24:24 2004
@@ -250,7 +250,7 @@
                const time_of_day& tod = timeofday_at(status,units,mouseover);
                std::stringstream tooltip;
                
-               tooltip << gettext(tod.name.c_str()) << "\n"
+               tooltip << tod.name << "\n"
                        << _("Lawful units") << ": "
                                << (tod.lawful_bonus > 0 ? "+" : "") << 
tod.lawful_bonus << "%\n"
                                << _("Neutral units") << ": " << "0%\n"




reply via email to

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