mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Changed: Replace strlwr by toLower
This commit is contained in:
parent
c2045c928d
commit
43b87ff588
1 changed files with 3 additions and 6 deletions
|
@ -202,24 +202,21 @@ namespace NLGUI
|
||||||
prop = (char*) xmlGetProp( cur, (xmlChar*)"tx_normal" );
|
prop = (char*) xmlGetProp( cur, (xmlChar*)"tx_normal" );
|
||||||
if (prop)
|
if (prop)
|
||||||
{
|
{
|
||||||
string TxName = (const char *) prop;
|
string TxName = NLMISC::toLower((const char *) prop);
|
||||||
TxName = strlwr(TxName);
|
|
||||||
_TextureIdNormal.setTexture(TxName.c_str());
|
_TextureIdNormal.setTexture(TxName.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
prop = (char*) xmlGetProp( cur, (xmlChar*)"tx_pushed" );
|
prop = (char*) xmlGetProp( cur, (xmlChar*)"tx_pushed" );
|
||||||
if (prop)
|
if (prop)
|
||||||
{
|
{
|
||||||
string TxName = (const char *) prop;
|
string TxName = NLMISC::toLower((const char *) prop);
|
||||||
TxName = strlwr(TxName);
|
|
||||||
_TextureIdPushed.setTexture(TxName.c_str());
|
_TextureIdPushed.setTexture(TxName.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
prop = (char*) xmlGetProp( cur, (xmlChar*)"tx_over" );
|
prop = (char*) xmlGetProp( cur, (xmlChar*)"tx_over" );
|
||||||
if (prop)
|
if (prop)
|
||||||
{
|
{
|
||||||
string TxName = (const char *) prop;
|
string TxName = NLMISC::toLower((const char *) prop);
|
||||||
TxName = strlwr(TxName);
|
|
||||||
_TextureIdOver.setTexture(TxName.c_str());
|
_TextureIdOver.setTexture(TxName.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue