From ca1713c01ba190e8b56b0e8e5e56e9d5640be4be Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 16 Sep 2020 21:27:23 +0200 Subject: h still in progress --- src/b_h.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/b_h.c') diff --git a/src/b_h.c b/src/b_h.c index 60e80ca..0e968ff 100644 --- a/src/b_h.c +++ b/src/b_h.c @@ -20,7 +20,7 @@ #include "s_struct.h" #include "u_utils.h" -static void b_print_history(const char arg[], t_msh *msh) +static void b_print_history(const char arg[], uint64_t max_hist, t_msh *msh) { char *prev_hist; char *tok; @@ -35,7 +35,7 @@ static void b_print_history(const char arg[], t_msh *msh) tok = ft_strtok(prev_hist, "\n"); while (tok != NULL) { - ft_printf("%-5u %s\n", i, tok); + ft_printf("%5u %s\n", i, tok); i++; tok = ft_strtok(NULL, "\n"); } -- cgit v1.2.3