mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-11 03:54:48 +00:00
Changed: Minor changes
This commit is contained in:
parent
8d5994f8c3
commit
14b35308ed
2 changed files with 11 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue