From 6073cfeb5d0d9a1226c9c023d978d9fbf936e973 Mon Sep 17 00:00:00 2001 From: myk002 Date: Thu, 9 Sep 2021 00:24:00 -0700 Subject: [PATCH] pass params from blueprint gui to gui/blueprint without passing the initial "gui" literal string --- plugins/blueprint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/blueprint.cpp b/plugins/blueprint.cpp index 026fb8ca9..32176353b 100644 --- a/plugins/blueprint.cpp +++ b/plugins/blueprint.cpp @@ -745,9 +745,9 @@ static bool do_blueprint(color_ostream &out, { std::ostringstream command; command << "gui/blueprint"; - for (const string ¶m : parameters) + for (size_t i = 1; i < parameters.size(); ++i) { - command << " " << param; + command << " " << parameters[i]; } string command_str = command.str(); out.print("launching %s\n", command_str.c_str());