aboutsummaryrefslogtreecommitdiff
path: root/c02/ex06
diff options
context:
space:
mode:
Diffstat (limited to 'c02/ex06')
-rw-r--r--c02/ex06/ft_str_is_printable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c02/ex06/ft_str_is_printable.c b/c02/ex06/ft_str_is_printable.c
index edb8fe5..ad9e05a 100644
--- a/c02/ex06/ft_str_is_printable.c
+++ b/c02/ex06/ft_str_is_printable.c
@@ -6,7 +6,7 @@
/* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/07/03 19:43:32 by cacharle #+# #+# */
-/* Updated: 2019/07/04 21:02:08 by cacharle ### ########.fr */
+/* Updated: 2019/07/05 10:05:14 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -14,7 +14,7 @@ int ft_str_is_printable(char *str)
{
while (*str != '\0')
{
- if (*str < ' ')
+ if (*str < ' ' || *str > '~')
return (0);
str++;
}