-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzero_state.c
21 lines (19 loc) · 1.04 KB
/
zero_state.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* :::::::: */
/* zero_state.c :+: :+: */
/* +:+ */
/* By: jsaariko <[email protected]> +#+ */
/* +#+ */
/* Created: 2020/02/05 15:01:48 by jsaariko #+# #+# */
/* Updated: 2020/03/05 18:18:16 by jsaariko ######## odam.nl */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void zero_state(char token, t_printf_arg **arg, va_list ap)
{
if ((*arg)->pad_type != p_left)
(*arg)->pad_type = p_zero;
(void)token;
(void)ap;
}