style: adding the new line at the ned of error message
This commit is contained in:
parent
ad9390eaec
commit
43913c5deb
2 changed files with 4 additions and 1 deletions
2
.clangd
2
.clangd
|
|
@ -1,5 +1,7 @@
|
||||||
CompilerFlags:
|
CompilerFlags:
|
||||||
Add:
|
Add:
|
||||||
- "-xc"
|
- "-xc"
|
||||||
|
- "-I/home/rparodi/Documents/cub3d/includes"
|
||||||
|
- "-I/home/rparodi/Documents/cub3d/includes/include"
|
||||||
- "-I/Users/raphael/Documents/42_cursus/circle4/Cub3D/includes/libft"
|
- "-I/Users/raphael/Documents/42_cursus/circle4/Cub3D/includes/libft"
|
||||||
- "-I/Users/raphael/Documents/42_cursus/circle4/Cub3D/includes"
|
- "-I/Users/raphael/Documents/42_cursus/circle4/Cub3D/includes"
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/10/31 11:09:00 by rparodi #+# #+# */
|
/* Created: 2024/10/31 11:09:00 by rparodi #+# #+# */
|
||||||
/* Updated: 2024/11/09 01:43:06 by bgoulard ### ########.fr */
|
/* Updated: 2024/11/10 16:13:25 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -47,4 +47,5 @@ void print_error(const char *msg)
|
||||||
ft_putstr_fd(RED, STDERR_FILENO);
|
ft_putstr_fd(RED, STDERR_FILENO);
|
||||||
ft_putstr_fd(msg, STDERR_FILENO);
|
ft_putstr_fd(msg, STDERR_FILENO);
|
||||||
ft_putstr_fd(RESET, STDERR_FILENO);
|
ft_putstr_fd(RESET, STDERR_FILENO);
|
||||||
|
ft_putstr_fd("\n", STDERR_FILENO);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue