Changed: Bad parenthesis

This commit is contained in:
kervala 2010-08-27 17:09:51 +02:00
parent 7610d61b80
commit b2417a68ab

View file

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