Changed: Bad parenthesis

hg/feature/sound
kervala 15 years ago
parent 7610d61b80
commit b2417a68ab

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

Loading…
Cancel
Save