avoiding conflict

This commit is contained in:
gazhonsepaskwa
2025-01-17 12:47:08 +01:00
parent eddd4cf75a
commit f5c5a80fb7
2 changed files with 3 additions and 3 deletions

View File

@@ -33,8 +33,8 @@ static int count_strings(char const *s, char *set)
count = 0;
while (*s)
{
if (!is_charset(*s, set) && is_charset(*(s + 1), set)
|| *(s + 1) == '\0')
if (!is_charset(*s, set) && ( is_charset(*(s + 1), set)
|| *(s + 1) == '\0'))
count ++;
s++;
}