fix: replace < > to <= >=

This commit is contained in:
2025-09-28 21:34:41 +02:00
parent f0af8e2225
commit 6d9c4a904e

View File

@@ -2,7 +2,7 @@
int ft_isalpha(const char c) int ft_isalpha(const char c)
{ {
if ((c > 65 && c < 90) || (c > 97 && c < 122)) if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'))
return (1); return (1);
return (0); return (0);
} }