fix formatter contains key with multiple functions

fixes #235
This commit is contained in:
Tony Crisci
2021-09-20 20:03:50 -04:00
parent b75efbdb76
commit d8a36b504b

View File

@@ -93,7 +93,9 @@ static gboolean token_list_contains_key(GList *tokens, const gchar *key) {
}
break;
case TOKEN_FUNCTION:
return token_list_contains_key(token->args, key);
if (token_list_contains_key(token->args, key)) {
return TRUE;
}
default:
break;
}