From b6b09fc1fa8e4f70f042cfe48f26b28d798498d3 Mon Sep 17 00:00:00 2001 From: Salad Date: Fri, 2 Oct 2020 16:55:52 +0200 Subject: almost there : norme + miltiligne --- src/c_input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/c_input.c') diff --git a/src/c_input.c b/src/c_input.c index d3360cd..1cc8814 100644 --- a/src/c_input.c +++ b/src/c_input.c @@ -22,7 +22,7 @@ #include "m_loop.h" int16_t - c_init_line(t_caps *tcaps) + c_init_line(uint8_t psx, t_caps *tcaps) { if (tcaps) { @@ -30,6 +30,7 @@ int16_t signal(SIGINT, SIG_IGN); tcaps->cpos = 0; tcaps->lpos = 0; + tcaps->psx = psx - 1; return (1); } else -- cgit v1.2.3