From e6dc426c586ad9b4b1480447ba47c9192497cc86 Mon Sep 17 00:00:00 2001 From: Timo Schmidt Date: Sun, 19 Mar 2023 11:17:38 +0100 Subject: [PATCH] space after "while" keyword --- ex01/ft_strncpy.c | 3 +-- ex04/ft_str_is_lowercase.c | 4 ++-- ex05/ft_str_is_uppercase.c | 4 ++-- ex06/ft_str_is_printable.c | 4 ++-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/ex01/ft_strncpy.c b/ex01/ft_strncpy.c index 699d506..ff5ab64 100644 --- a/ex01/ft_strncpy.c +++ b/ex01/ft_strncpy.c @@ -6,11 +6,10 @@ /* By: tischmid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/03/19 10:25:26 by tischmid #+# #+# */ -/* Updated: 2023/03/19 10:30:45 by tischmid ### ########.fr */ +/* Updated: 2023/03/19 10:33:04 by tischmid ### ########.fr */ /* */ /* ************************************************************************** */ - char *ft_strncpy(char *dest, char *src, unsigned int n) { unsigned int i; diff --git a/ex04/ft_str_is_lowercase.c b/ex04/ft_str_is_lowercase.c index e5478b9..2f497fc 100644 --- a/ex04/ft_str_is_lowercase.c +++ b/ex04/ft_str_is_lowercase.c @@ -6,7 +6,7 @@ /* By: tischmid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */ -/* Updated: 2023/03/19 11:12:03 by tischmid ### ########.fr */ +/* Updated: 2023/03/19 11:17:16 by tischmid ### ########.fr */ /* */ /* ************************************************************************** */ @@ -15,7 +15,7 @@ int ft_str_is_lowercase(char *str) int i; i = 0; - while(str[i] >= 'a' && str[i] <= 'z') + while (str[i] >= 'a' && str[i] <= 'z') { ++i; } diff --git a/ex05/ft_str_is_uppercase.c b/ex05/ft_str_is_uppercase.c index 957a801..e397148 100644 --- a/ex05/ft_str_is_uppercase.c +++ b/ex05/ft_str_is_uppercase.c @@ -6,7 +6,7 @@ /* By: tischmid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */ -/* Updated: 2023/03/19 11:12:55 by tischmid ### ########.fr */ +/* Updated: 2023/03/19 11:17:00 by tischmid ### ########.fr */ /* */ /* ************************************************************************** */ @@ -15,7 +15,7 @@ int ft_str_is_uppercase(char *str) int i; i = 0; - while(str[i] >= 'A' && str[i] <= 'Z') + while (str[i] >= 'A' && str[i] <= 'Z') { ++i; } diff --git a/ex06/ft_str_is_printable.c b/ex06/ft_str_is_printable.c index b2e2dc5..c3fb773 100644 --- a/ex06/ft_str_is_printable.c +++ b/ex06/ft_str_is_printable.c @@ -6,7 +6,7 @@ /* By: tischmid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */ -/* Updated: 2023/03/19 11:16:39 by tischmid ### ########.fr */ +/* Updated: 2023/03/19 11:17:09 by tischmid ### ########.fr */ /* */ /* ************************************************************************** */ @@ -15,7 +15,7 @@ int ft_str_is_printable(char *str) int i; i = 0; - while(str[i] >= 32 && str[i] <= 126) + while (str[i] >= 32 && str[i] <= 126) { ++i; }