Small simplification ()

This commit is contained in:
crazycatdevs 2021-12-19 10:24:36 +01:00 committed by GitHub
parent d77f42e4be
commit 9e7d4b0122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -796,15 +796,15 @@ static int internal_getscore(char *str)
if (digits >= 5)
{
score += 5 + (digits - 5);
score += digits;
}
if (vowels >= 4)
{
score += 4 + (vowels - 4);
score += vowels;
}
if (consonants >= 4)
{
score += 4 + (consonants - 4);
score += consonants;
}
for (t=triples; t; t=t->next)