summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_isprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_isprint.c')
-rw-r--r--libft/src/ft_isprint.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libft/src/ft_isprint.c b/libft/src/ft_isprint.c
index 12fdb7a..f4d1b73 100644
--- a/libft/src/ft_isprint.c
+++ b/libft/src/ft_isprint.c
@@ -10,10 +10,12 @@
/* */
/* ************************************************************************** */
-int
+#include <libft.h>
+
+t_bool
ft_isprint(int c)
{
if (c >= 32 && c <= 126)
- return (1);
- return (0);
+ return (TRUE);
+ return (FALSE);
}