Fixed: a bug with interface due to the static keyword
This commit is contained in:
parent
8d9d58fed9
commit
55330e73e3
1 changed files with 1 additions and 1 deletions
|
@ -1029,7 +1029,7 @@ sint32 CViewRenderer::getTextureIdFromName (const string &sName) const
|
|||
return -1;
|
||||
|
||||
// convert to lowCase
|
||||
static string nameLwr = toLower(sName);
|
||||
string nameLwr = toLower(sName);
|
||||
string::size_type stripPng = nameLwr.find(".png");
|
||||
if (stripPng != string::npos)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue