fix(char): fixing the isascii / isprint

- Correcting the behavour of is ascii to the original given by the
original function
This commit is contained in:
Raphael 2025-09-05 10:47:02 +02:00
parent 4c6a17811f
commit 7051eaf1bf
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/06 14:06:53 by rparodi #+# #+# */
/* Updated: 2025/09/04 11:41:49 by rparodi ### ########.fr */
/* Updated: 2025/09/05 10:44:13 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -19,6 +19,6 @@
int ft_isprint(int c)
{
if (c >= 32 && c <= 126)
return (c);
return (1);
return (0);
}