mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Fix incorrect change returning false unconditionally for argc==0
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user