inpcom.c, get_model_type(), use gettok_noparens() to extract model type

Takes care of model descriptions in parentheses like
  d(...)
This commit is contained in:
h_vogt 2016-05-03 21:45:20 +02:00 committed by rlar
parent 1ffb957e6c
commit 306ada7dd0
1 changed files with 1 additions and 1 deletions

View File

@ -1612,7 +1612,7 @@ get_model_type(char *line)
beg_ptr = skip_non_ws(beg_ptr); /* eat model name */
beg_ptr = skip_ws(beg_ptr);
return gettok(&beg_ptr);
return gettok_noparens(&beg_ptr);
}