mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2026-02-04 07:02:11 +00:00
Change from c_str to std::string
This commit is contained in:
parent
b8320da1aa
commit
350072a6ac
@ -803,7 +803,7 @@ int main(int argc, char* argv[])
|
||||
// Change the current working directory to that of the script
|
||||
int chErr = chdir(projectDirectory.c_str());
|
||||
if (chErr < 0)
|
||||
LogCriticalError("Failed to change directory to: \"" + projectDirectory.c_str() + "\", error num: " + chErr);
|
||||
LogCriticalError("Failed to change directory to: \"" + projectDirectory + "\", error num: " + chErr);
|
||||
#if DEVELOPER_MESSAGES
|
||||
InterpreterLog("Changed directory to " + projectDirectory + "...");
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user