Changed: Merge changes from next patch

This commit is contained in:
kervala 2011-06-02 17:26:04 +02:00
parent d555e851bf
commit 2ed67b9a10

View file

@ -1424,6 +1424,9 @@ const ucchar * CStringManagerClient::getSpecialWord(const std::string &label, bo
map<string,CItem>::iterator it = _SpecItem_TempMap.find(lwrLabel);
if (it != _SpecItem_TempMap.end())
{
if( UseFemaleTitles && women )
if (!it->second.WomenName.empty())
return it->second.WomenName.c_str();
return it->second.Name.c_str();
}
}