From 4e16203d49405cc0eb81d82693e8606e80d004fd Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 29 Sep 2020 19:00:27 +0200 Subject: Some norm --- libft/src/ft_isdigit.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libft/src/ft_isdigit.c') diff --git a/libft/src/ft_isdigit.c b/libft/src/ft_isdigit.c index 3c73f92..92c93e4 100644 --- a/libft/src/ft_isdigit.c +++ b/libft/src/ft_isdigit.c @@ -12,10 +12,11 @@ #include -t_bool - ft_isdigit(int c) +t_bool ft_isdigit(int c) { if (c >= 48 && c <= 57) + { return (TRUE); + } return (FALSE); } -- cgit v1.2.3