readability

This commit is contained in:
Holger Vogt 2019-09-28 16:19:27 +02:00
parent cb025a98a8
commit fd2e8612d8
1 changed files with 2 additions and 3 deletions

View File

@ -1920,9 +1920,8 @@ static int is_a_modelname(const char *s)
/* conversion failed, so no number */
if (eq(s, st))
return TRUE;
else
/* test if we have a true number */
if (*st == '\0' || isspace(*st))
/* test if we have a true number */
else if (*st == '\0' || isspace(*st))
return FALSE;
else {
/* look for the scale factor (alphabetic) and skip it.