summaryrefslogtreecommitdiffstats
path: root/src/c_input.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/c_input.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/c_input.c b/src/c_input.c
index e1dce63..d680552 100644
--- a/src/c_input.c
+++ b/src/c_input.c
@@ -66,7 +66,7 @@ uint32_t
while (it < len)
{
it += (it == 0) ? (tcaps->ws.ws_col - plen) : tcaps->ws.ws_col;
- tcaps->lpos += (it < (cpos)) ? 1 : 0;
+ tcaps->lpos += (it < cpos) ? 1 : 0;
line_num++;
}
return (line_num);
@@ -83,13 +83,3 @@ int16_t
}
return (1);
}
-
-int16_t
- c_ctrl_c(char *line, t_caps *tcaps, t_msh *msh)
-{
- (void)tcaps;
- (void)line;
- msh->ret = 130;
- c_new_line(NULL, tcaps);
- return (1);
-}