summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_isdigit.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libft/src/ft_isdigit.c5
1 files changed, 3 insertions, 2 deletions
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 <libft.h>
-t_bool
- ft_isdigit(int c)
+t_bool ft_isdigit(int c)
{
if (c >= 48 && c <= 57)
+ {
return (TRUE);
+ }
return (FALSE);
}