From e64c00b49e27702f6efd8f5b9013fc300b4e049c Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Wed, 17 Mar 2021 22:38:06 -0500 Subject: [PATCH] Update ScriptSystem.cpp Fix capitalization --- Source/Project64/UserInterface/Debugger/ScriptSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64/UserInterface/Debugger/ScriptSystem.cpp b/Source/Project64/UserInterface/Debugger/ScriptSystem.cpp index 592b7a944..92ab8e8a1 100644 --- a/Source/Project64/UserInterface/Debugger/ScriptSystem.cpp +++ b/Source/Project64/UserInterface/Debugger/ScriptSystem.cpp @@ -62,7 +62,7 @@ void CScriptSystem::RunScript(const char * path) { CGuard guard(m_CS); CScriptInstance* scriptInstance = new CScriptInstance(m_Debugger); - char* pathSaved = (char*)malloc(strlen(path)+1); // freed via DeleteStoppedInstances + char* pathSaved = (char*)malloc(strlen(path)+1); // Freed via DeleteStoppedInstances strcpy(pathSaved, path); m_RunningInstances.push_back({ pathSaved, scriptInstance });