Changed: Bad parenthesis

This commit is contained in:
kervala 2010-08-27 17:09:51 +02:00
parent 2c98c02da9
commit 1f76b30435

View file

@ -367,7 +367,7 @@ int main(int nNbArg, char **ppArgs)
if (outTga.open(fmtName))
{
std::string ext;
if (toLower(fmtName.find(".png")) != string::npos)
if (toLower(fmtName).find(".png") != string::npos)
{
ext = "png";
GlobalTexture.writePNG (outTga, 32);