summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_iswhitespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_iswhitespace.c')
-rw-r--r--libft/src/ft_iswhitespace.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/libft/src/ft_iswhitespace.c b/libft/src/ft_iswhitespace.c
index 3bb5868..49e214b 100644
--- a/libft/src/ft_iswhitespace.c
+++ b/libft/src/ft_iswhitespace.c
@@ -12,14 +12,15 @@
#include <libft.h>
-t_bool
- ft_iswhitespace(int c)
+t_bool ft_iswhitespace(int c)
{
- if (c == '\t' ||
- c == '\v' ||
- c == '\f' ||
- c == '\r' ||
- c == ' ')
+ if (c == '\t'
+ || c == '\v'
+ || c == '\f'
+ || c == '\r'
+ || c == ' ')
+ {
return (TRUE);
+ }
return (FALSE);
}