CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Cedric Duval <[EMAIL PROTECTED]> 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"