Changed: Merge changes from next patch

This commit is contained in:
kervala 2011-06-02 17:26:04 +02:00
parent d92c0b4815
commit d4a78b6fd1

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();
}
}