From 47b6da53aa76a7be011703158e71ac5d3c642878 Mon Sep 17 00:00:00 2001 From: Oskar Date: Fri, 29 Mar 2024 19:41:38 +0100 Subject: Removed validate_N because its redundant --- input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'input.c') diff --git a/input.c b/input.c index 2cc2089..a2c97f0 100644 --- a/input.c +++ b/input.c @@ -34,7 +34,7 @@ int smode_input(char *single, char **multiple, uint64_t focus) { // This functio case 'l': case 'L': { - int chk = validate_L(smode_buf); + int chk = validate_L(smode_buf, MODE_L); if (chk == _INVALID) { return _FAIL; } @@ -46,7 +46,7 @@ int smode_input(char *single, char **multiple, uint64_t focus) { // This functio case 'n': case 'N': { - int chk = validate_N(smode_buf); + int chk = validate_L(smode_buf, MODE_N); if (chk == _INVALID) { return _FAIL; } -- cgit v1.2.3