From 4e08e3c4c4dc08b62e9caea8620aa87408b40dae Mon Sep 17 00:00:00 2001 From: Takashi Sawanaka Date: Sat, 31 Aug 2024 10:50:20 +0900 Subject: [PATCH] Fix crash when defining ${SCRIPT_FILE} on command line in Edit Plugin window --- Src/InternalPlugins.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/InternalPlugins.h b/Src/InternalPlugins.h index abfb9aeddf5..a1c380a0c3b 100644 --- a/Src/InternalPlugins.h +++ b/Src/InternalPlugins.h @@ -20,7 +20,7 @@ struct Method Method() = default; Method(const Method& method) : m_command(method.m_command) - , m_script(method.m_script ? new Script(*m_script) : nullptr) + , m_script(method.m_script ? new Script(*method.m_script) : nullptr) { } String m_command;