Skip to content
Snippets Groups Projects
Commit a2277829 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 3febcbaa
No related branches found
No related tags found
No related merge requests found
......@@ -135,8 +135,10 @@ static void solver_command_cb(Fl_Widget *w, void *data)
if(val < SINFO[num].option[usedopts].size())
sprintf(command, SINFO[num].button_command[idx].c_str(),
SINFO[num].option[usedopts][val].c_str());
else
Msg::Error("Invalid option index: missing value");
else{
Msg::Warning("Invalid choice (%d) for option %d", val, usedopts);
strcpy(command, "");
}
}
else {
strcpy(command, SINFO[num].button_command[idx].c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment