mirror of
https://github.com/guezoloic/libft.git
synced 2026-01-25 07:34:16 +00:00
fix: replace < > to <= >=
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user