diff options
Diffstat (limited to 'src/c_utils.c')
-rw-r--r-- | src/c_utils.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/c_utils.c b/src/c_utils.c index f5e66fe..a7769bb 100644 --- a/src/c_utils.c +++ b/src/c_utils.c @@ -22,7 +22,7 @@ #include "s_struct.h" char - *c_new_line(char *line, t_caps *tcaps) + *c_new_line(t_caps *tcaps) { char *ret; size_t i; @@ -32,12 +32,6 @@ char write(1, "\n", 1); tputs(tgetstr("cr", NULL), 1, ft_putchar); c_set_term_raw(0); - (void)line; - /* if (line != NULL) */ - /* { */ - /* ret = ft_strdup(line); */ - /* *line = '\0'; */ - /* } */ tcaps->cpos = 0; tputs(tgetstr("cr", NULL), 1, ft_putchar); if (i < tcaps->nlines && tcaps->nlines != 1) |