Avoid model warning for C if compat flag lt is set.

This commit is contained in:
Holger Vogt 2021-05-25 17:42:34 +02:00
parent 1266225cdb
commit db5395032f
1 changed files with 2 additions and 1 deletions

View File

@ -2279,7 +2279,8 @@ static int is_a_modelname(const char *s)
st = st + 5;
else if ((*st == 'f') || (*st == 'h'))
st = st + 1;
else if (newcompat.lt && isdigit_c(*st)) /* 4k7 */
return FALSE;
if (*st == '\0' || isspace_c(*st)) {
return FALSE;
}