From cfaf9947227065ce40661544dff9b3554ff5aca2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 17 Aug 2020 17:22:24 +0200 Subject: Set libft/ft_is* to type t_bool --- libft/src/ft_isprint.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libft/src/ft_isprint.c') 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 + +t_bool ft_isprint(int c) { if (c >= 32 && c <= 126) - return (1); - return (0); + return (TRUE); + return (FALSE); } -- cgit v1.2.3