aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_colors.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 15:36:49 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-17 15:36:49 +0100
commite40442466e3f20f83a2d7755a6038bc3fc27fa8e (patch)
tree911145a592ac03a4dcdf9763f5708bec90a92382 /src/ft_get_colors.c
parentMap update (diff)
download42-cub3d-e40442466e3f20f83a2d7755a6038bc3fc27fa8e.tar.gz
42-cub3d-e40442466e3f20f83a2d7755a6038bc3fc27fa8e.tar.bz2
42-cub3d-e40442466e3f20f83a2d7755a6038bc3fc27fa8e.tar.xz
42-cub3d-e40442466e3f20f83a2d7755a6038bc3fc27fa8e.tar.zst
42-cub3d-e40442466e3f20f83a2d7755a6038bc3fc27fa8e.zip
Norme
Diffstat (limited to 'src/ft_get_colors.c')
-rw-r--r--src/ft_get_colors.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ft_get_colors.c b/src/ft_get_colors.c
index 3d34284..f54fabc 100644
--- a/src/ft_get_colors.c
+++ b/src/ft_get_colors.c
@@ -16,7 +16,7 @@
#include <stdint.h>
static int8_t
-ft_check_color_digits(char **num, t_cub *clist)
+ ft_check_color_digits(char **num, t_cub *clist)
{
size_t i;
uint8_t j;
@@ -31,8 +31,7 @@ ft_check_color_digits(char **num, t_cub *clist)
{
ft_free_words(num);
ft_strlcpy(clist->errmsg, FT_ERR_COLOR_ALPHA,
- ft_strlen(FT_ERR_COLOR_ALPHA) + 1);
-
+ ft_strlen(FT_ERR_COLOR_ALPHA) + 1);
return (-1);
}
i = 0;