Cosmetic fixes on obsoletion messages

This commit is contained in:
Benoît Timbert 2008-03-16 22:45:31 +00:00
parent 5c3d8d2f59
commit 31eb999674
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ report generate_report(TYPE type,
switch(type) {
// this one is for backward compatibility (should be removed in v1.5.3)
case UNIT_NAME_OLD:
std::cerr << "warning: ThemeWML [unit_description] tag will be removed in 1.5.3, run wmllint on WML defining " << std::endl;
std::cerr << "warning: ThemeWML [unit_description] tag will be removed in 1.5.3, run wmllint" << std::endl;
case UNIT_NAME:
return report(u->second.name(),"",u->second.name());
case UNIT_TYPE:

View File

@ -926,7 +926,7 @@ void game_data::set_config(const config& cfg)
if (insertion.second) {
insertion.first->second.build(**i.first,movement_types,races,unit_traits);
}
std::cerr << "warning: UnitWML [unit] tag will be removed in 1.5.3, run wmllint on WML defining " << id << " to convert it to using [unit_type]";
std::cerr << "warning: UnitWML [unit] tag will be removed in 1.5.3, run wmllint on WML defining " << id << " to convert it to using [unit_type]" << std::endl;
}
}