Fixed: a bug with interface due to the static keyword

hg/feature/sound
vl 14 years ago
parent e9492506b1
commit 2cdf9e71f6

@ -1029,7 +1029,7 @@ sint32 CViewRenderer::getTextureIdFromName (const string &sName) const
return -1; return -1;
// convert to lowCase // convert to lowCase
static string nameLwr = toLower(sName); string nameLwr = toLower(sName);
string::size_type stripPng = nameLwr.find(".png"); string::size_type stripPng = nameLwr.find(".png");
if (stripPng != string::npos) if (stripPng != string::npos)
{ {

Loading…
Cancel
Save