summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_isspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_isspace.c')
-rw-r--r--libft/src/ft_isspace.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/libft/src/ft_isspace.c b/libft/src/ft_isspace.c
index 8454c7c..2f2ad0e 100644
--- a/libft/src/ft_isspace.c
+++ b/libft/src/ft_isspace.c
@@ -12,15 +12,16 @@
#include <libft.h>
-t_bool
- ft_isspace(int c)
+t_bool ft_isspace(int c)
{
- if (c == '\t' ||
- c == '\n' ||
- c == '\v' ||
- c == '\f' ||
- c == '\r' ||
- c == ' ')
+ if (c == '\t'
+ || c == '\n'
+ || c == '\v'
+ || c == '\f'
+ || c == '\r'
+ || c == ' ')
+ {
return (TRUE);
+ }
return (FALSE);
}