From 83bd7ce7abaab235d8c8bb7f03a2214696a2e588 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Wed, 14 Oct 2020 13:02:03 +0200 Subject: [PATCH] instance check - command line analysis - not return if only 1 argument --- src/slic3r/GUI/InstanceCheck.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slic3r/GUI/InstanceCheck.cpp b/src/slic3r/GUI/InstanceCheck.cpp index a8b1b8657..31115c6aa 100644 --- a/src/slic3r/GUI/InstanceCheck.cpp +++ b/src/slic3r/GUI/InstanceCheck.cpp @@ -35,9 +35,9 @@ namespace instance_check_internal }; static CommandLineAnalysis process_command_line(int argc, char** argv) { - CommandLineAnalysis ret { false }; - if (argc < 2) - return ret; + CommandLineAnalysis ret; + //if (argc < 2) + // return ret; std::vector arguments { argv[0] }; for (size_t i = 1; i < argc; ++i) { const std::string token = argv[i];