Changed: Minor changes

--HG--
branch : develop
This commit is contained in:
kervala 2015-12-13 20:23:58 +01:00
parent 8b9098b5d5
commit 7977ef5903
2 changed files with 11 additions and 11 deletions

View file

@ -61,19 +61,19 @@ namespace STAT_GLOBALS
NLMISC::CSString getInputFilePath(const NLMISC::CSString& path)
{
NLMISC::CSString pathRoot= NLMISC::CPath::standardizePath(InputFileDirectory.get());
return (path.left((uint)pathRoot.size())==pathRoot)? path: pathRoot+path;
return path.left((uint)pathRoot.size()) == pathRoot ? path:pathRoot+path;
}
NLMISC::CSString getScriptFilePath(const NLMISC::CSString& path)
{
NLMISC::CSString pathRoot= NLMISC::CPath::standardizePath(ScriptDirectory.get());
return (path.left((uint)pathRoot.size())==pathRoot)? path: pathRoot+path;
return path.left((uint)pathRoot.size()) == pathRoot ? path:pathRoot+path;
}
NLMISC::CSString getOutputFilePath(const NLMISC::CSString& path)
{
NLMISC::CSString pathRoot= NLMISC::CPath::standardizePath(OutputDirectory.get());
return (path.left((uint)pathRoot.size())==pathRoot)? path: pathRoot+path;
return path.left((uint)pathRoot.size()) == pathRoot ? path:pathRoot+path;
}