changeset 92:6d77ee0546fe

If "useCfgFileParameter" in the ini file is set to none, do not give it along as parameter at command line. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@270 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Wed, 14 Mar 2007 08:27:10 +0000
parents 50c24db82f91
children 7010560da1b8
files src/indenthandler.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/indenthandler.cpp	Wed Mar 14 08:25:04 2007 +0000
+++ b/src/indenthandler.cpp	Wed Mar 14 08:27:10 2007 +0000
@@ -121,7 +121,7 @@
 		parameterParamterFile = " " + parameterString;
 	}
 	// if needed add the parameter to the indenter call string where the config file can be found
-	else {
+	else if (useCfgFileParameter != "none") {
 		parameterParamterFile = " " + useCfgFileParameter + configFilename;
 	}