Fix incorrect change returning false unconditionally for argc==0

This commit is contained in:
baldurk
2018-11-16 14:06:44 +00:00
parent 42c1ae0753
commit 2994f2f037
+1 -1
View File
@@ -398,7 +398,7 @@ public:
int argc=static_cast<int>(args.size());
std::vector<const char*> argv(argc);
if (argc<1) return false;
if (argc<1) return processed_arg0;
for (int i=0; i<argc; i++)
argv[i]=args[i].c_str();