diff options
Diffstat (limited to 'libft/src/ft_isalnum.c')
-rw-r--r-- | libft/src/ft_isalnum.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libft/src/ft_isalnum.c b/libft/src/ft_isalnum.c index fca042d..0820822 100644 --- a/libft/src/ft_isalnum.c +++ b/libft/src/ft_isalnum.c @@ -12,10 +12,11 @@ #include <libft.h> -t_bool - ft_isalnum(int c) +t_bool ft_isalnum(int c) { - if (ft_isalpha(c) || ft_isdigit(c)) + if (ft_isalpha(c) == TRUE || ft_isdigit(c) == TRUE) + { return (TRUE); + } return (FALSE); } |