From 73196fe7fe3f7c2c99d9c86a930ae9bd6a82e2dd Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 13 Nov 2013 21:53:21 +0100 Subject: [PATCH] Changed: Replace strlwr by toLower --- code/nel/src/gui/ctrl_button.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/code/nel/src/gui/ctrl_button.cpp b/code/nel/src/gui/ctrl_button.cpp index 571781e11..3f30105cc 100644 --- a/code/nel/src/gui/ctrl_button.cpp +++ b/code/nel/src/gui/ctrl_button.cpp @@ -202,24 +202,21 @@ namespace NLGUI prop = (char*) xmlGetProp( cur, (xmlChar*)"tx_normal" ); if (prop) { - string TxName = (const char *) prop; - TxName = strlwr(TxName); + string TxName = NLMISC::toLower((const char *) prop); _TextureIdNormal.setTexture(TxName.c_str()); } prop = (char*) xmlGetProp( cur, (xmlChar*)"tx_pushed" ); if (prop) { - string TxName = (const char *) prop; - TxName = strlwr(TxName); + string TxName = NLMISC::toLower((const char *) prop); _TextureIdPushed.setTexture(TxName.c_str()); } prop = (char*) xmlGetProp( cur, (xmlChar*)"tx_over" ); if (prop) { - string TxName = (const char *) prop; - TxName = strlwr(TxName); + string TxName = NLMISC::toLower((const char *) prop); _TextureIdOver.setTexture(TxName.c_str()); }