From 6d9c4a904ed60f0250aa7e1aa83ae03be434a306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20GUEZO?= Date: Sun, 28 Sep 2025 21:34:41 +0200 Subject: [PATCH] fix: replace < > to <= >= --- ft_isalpha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }