From a3ea830c6ecebcfe85356d10fb5263f45ea01956 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 4 Nov 2019 21:01:21 +0100 Subject: Added iteractive mode and check with gcc -Wformat the generated test before creating it --- helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helper.c') diff --git a/helper.c b/helper.c index c4854bd..79af974 100644 --- a/helper.c +++ b/helper.c @@ -94,11 +94,11 @@ void ft_putstr_non_printable(char *str) printf("\\0"); else { - ft_putchar('\\'); + putchar('\\'); tmp = *cursor / 16; - ft_putchar(hex_symbols[tmp]); + putchar(hex_symbols[tmp]); tmp = *cursor % 16; - ft_putchar(hex_symbols[tmp]); + putchar(hex_symbols[tmp]); } cursor++; } -- cgit