Skip to content
Snippets Groups Projects
Commit 9b8252a7 authored by Francois Henrotte's avatar Francois Henrotte
Browse files

considered case argc==0

parent ff7ce61f
No related branches found
No related tags found
No related merge requests found
......@@ -137,9 +137,7 @@ void GetOptions(int argc, char *argv[])
}
#endif
std::string execName="gmsh";
if(execName.size())
Msg::SetExecutableName(execName);
Msg::SetExecutableName(argc?argv[0]:"");
// get command line options
int i = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment