mirror of
https://github.com/DavidGailleton/42-ft_printf.git
synced 2026-04-28 22:34:34 +02:00
some fix on printf
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
|
||||
static int is_main_arg(char c)
|
||||
{
|
||||
if (c == 'c' || c == 's' || c == 'p' || c == 'd'
|
||||
|| c == 'i' || c == 'u' || c == 'x' || c == 'X' || c == '%')
|
||||
if (c == 'c' || c == 's' || c == 'p' || c == 'd' || c == 'i' || c == 'u'
|
||||
|| c == 'x' || c == 'X' || c == '%')
|
||||
return (1);
|
||||
return (0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user