[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src help.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src help.cpp |
Date: |
Tue, 19 Oct 2004 01:59:44 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 04/10/19 05:52:13
Modified files:
src : help.cpp
Log message:
Fix displaying of translated terrains in help for unit descriptions.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/help.cpp.diff?tr1=1.35&tr2=1.36&r1=text&r2=text
Patches:
Index: wesnoth/src/help.cpp
diff -u wesnoth/src/help.cpp:1.35 wesnoth/src/help.cpp:1.36
--- wesnoth/src/help.cpp:1.35 Tue Oct 19 05:23:38 2004
+++ wesnoth/src/help.cpp Tue Oct 19 05:52:13 2004
@@ -789,7 +789,7 @@
const terrain_type& info =
map->get_terrain_info(terrain);
if (!info.is_alias()) {
std::vector<std::pair<std::string, unsigned> > row;
- const std::string &name =
info.name();
+ const std::string &name =
string_table[info.name()];
const int moves =
movement_type.movement_cost(*map,terrain);
std::stringstream str;
str << "<ref>text='" <<
escape(name) << "' dst='"
- [Wesnoth-cvs-commits] wesnoth/src help.cpp, Guillaume Melquiond, 2004/10/19
- [Wesnoth-cvs-commits] wesnoth/src help.cpp,
Guillaume Melquiond <=
- [Wesnoth-cvs-commits] wesnoth/src help.cpp, Guillaume Melquiond, 2004/10/19
- [Wesnoth-cvs-commits] wesnoth/src help.cpp, Guillaume Melquiond, 2004/10/19
- [Wesnoth-cvs-commits] wesnoth/src help.cpp, Cedric Duval, 2004/10/21
- [Wesnoth-cvs-commits] wesnoth/src help.cpp, Guillaume Melquiond, 2004/10/30
- [Wesnoth-cvs-commits] wesnoth/src help.cpp, Guillaume Melquiond, 2004/10/30
- [Wesnoth-cvs-commits] wesnoth/src help.cpp, Guillaume Melquiond, 2004/10/31