diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-11-04 21:01:21 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-11-05 03:08:14 +0100 |
| commit | a3ea830c6ecebcfe85356d10fb5263f45ea01956 (patch) | |
| tree | 9fca944b27d2aefe0d0ef1b2b589576a063d5b2f /helper.c | |
| parent | 6ebaad27d92a5bb47fdf9618df12d3b4120f664e (diff) | |
| download | ft_printf_test-a3ea830c6ecebcfe85356d10fb5263f45ea01956.tar.gz ft_printf_test-a3ea830c6ecebcfe85356d10fb5263f45ea01956.tar.bz2 ft_printf_test-a3ea830c6ecebcfe85356d10fb5263f45ea01956.zip | |
Added iteractive mode and check with gcc -Wformat the generated test
before creating it
Diffstat (limited to 'helper.c')
| -rw-r--r-- | helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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++; } |
