diff --git a/ft_isalpha.c b/ft_isalpha.c index 1d6f940..b94b2c5 100644 --- a/ft_isalpha.c +++ b/ft_isalpha.c @@ -2,7 +2,7 @@ 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 (0); }