We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b26a1f9 commit c6b256aCopy full SHA for c6b256a
1 file changed
source/CScriptEngine.cpp
@@ -1519,8 +1519,9 @@ namespace CLEO
1519
else
1520
{
1521
// store script file directory and name
1522
- FS::path path = szFileName;
1523
- path = FS::weakly_canonical(path);
+ std::string pathStr = szFileName;
+ FilepathNormalize(pathStr, false);
1524
+ FS::path path = FS::weakly_canonical(pathStr);
1525
1526
// file exists?
1527
if (!FS::is_regular_file(path))
0 commit comments