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[]) ...@@ -137,9 +137,7 @@ void GetOptions(int argc, char *argv[])
} }
#endif #endif
std::string execName="gmsh"; Msg::SetExecutableName(argc?argv[0]:"");
if(execName.size())
Msg::SetExecutableName(execName);
// get command line options // get command line options
int i = 1; int i = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment