From 1f76b3043521af7727513bd62a427d703bf1c00b Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 27 Aug 2010 17:09:51 +0200 Subject: [PATCH] Changed: Bad parenthesis --- code/nel/tools/3d/build_interface/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/3d/build_interface/main.cpp b/code/nel/tools/3d/build_interface/main.cpp index 1f8d50997..ae317269b 100644 --- a/code/nel/tools/3d/build_interface/main.cpp +++ b/code/nel/tools/3d/build_interface/main.cpp @@ -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);