Skip to content

Commit

Permalink
norm
Browse files Browse the repository at this point in the history
  • Loading branch information
alsantia@c2r5s1.42lisboa.com committed Apr 27, 2021
1 parent 5133cdc commit 1c2c7ec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions srcs/ft_treat_type_d.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: alsantia <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/04/18 16:28:25 by alsantia #+# #+# */
/* Updated: 2021/04/25 15:42:38 by alsantia ### ########.fr */
/* Updated: 2021/04/27 18:03:38 by alsantia ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -53,8 +53,8 @@ static void ft_check_flag(t_flags *flag, va_list ap)
flag->minus = 1;
flag->width *= -1;
}
if (flag->precision < -1)
flag->precision = -1;
if (flag->precision < -1)
flag->precision = -1;
if (flag->precision != -1 || flag->minus)
flag->zero = 0;
}
Expand Down
6 changes: 3 additions & 3 deletions srcs/ft_treat_type_u.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: alsantia <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/04/25 15:43:32 by alsantia #+# #+# */
/* Updated: 2021/04/25 15:44:58 by alsantia ### ########.fr */
/* Updated: 2021/04/27 18:04:34 by alsantia ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -53,8 +53,8 @@ static void ft_check_flag(t_flags *flag, va_list ap)
flag->minus = 1;
flag->width *= -1;
}
if (flag->precision < -1)
flag->precision = -1;
if (flag->precision < -1)
flag->precision = -1;
if (flag->precision != -1 || flag->minus)
flag->zero = 0;
}
Expand Down
6 changes: 3 additions & 3 deletions srcs/ft_treat_type_x.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: alsantia <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/04/25 15:46:54 by alsantia #+# #+# */
/* Updated: 2021/04/25 17:26:07 by alsantia ### ########.fr */
/* Updated: 2021/04/27 18:05:07 by alsantia ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -53,8 +53,8 @@ static void ft_check_flag(t_flags *flag, va_list ap)
flag->minus = 1;
flag->width *= -1;
}
if (flag->precision < -1)
flag->precision = -1;
if (flag->precision < -1)
flag->precision = -1;
if (flag->precision != -1 || flag->minus)
flag->zero = 0;
}
Expand Down

0 comments on commit 1c2c7ec

Please sign in to comment.