Fixed: a bug with interface due to the static keyword

This commit is contained in:
vl 2010-09-21 12:18:24 +02:00
parent c24f90fc26
commit 9b1a601c02

View file

@ -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)
{