Remove another not needed c_str() call.

This commit is contained in:
Mark de Wever 2007-07-20 17:18:59 +00:00
parent 2cb6058ac4
commit 4e50480d29

View file

@ -149,9 +149,9 @@ std::string get_colour_string(int id)
side_id << (id + 1);
std::map<std::string, t_string>::iterator name = game_config::team_rgb_name.find(side_id.str());
if(name != game_config::team_rgb_name.end()){
return prefix + name->second.c_str();
return prefix + name->second;
}else{
return prefix + _("Invalid Color");
return prefix + _("Invalid Color");
}
}