Archived
1
0

ft_putchar done

This commit is contained in:
Adam Joly
2023-11-18 10:52:33 +01:00
parent 500b3201dd
commit 859ac12ea5
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42.fr> +#+ +:+ +#+ */ /* By: adjoly <adjoly@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/17 16:48:37 by adjoly #+# #+# */ /* Created: 2023/11/17 16:48:37 by adjoly #+# #+# */
/* Updated: 2023/11/17 20:03:48 by adjoly ### ########.fr */ /* Updated: 2023/11/18 10:50:53 by adjoly ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -28,7 +28,7 @@ int ft_printf(const char *format, ...)
{ {
i++; i++;
if (format[i] == '%') if (format[i] == '%')
ft_putchar_fd('%', 1); ft_putchar('%');
else if (format[i] == 's') else if (format[i] == 's')
ft_putstr_fd(va_arg(args, char *), 1); ft_putstr_fd(va_arg(args, char *), 1);
else if (format[i] == 'c') else if (format[i] == 'c')

2
libft

Submodule libft updated: 42f67cc750...e391b9b0f7