summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-03-29 19:41:38 +0100
committerOskar <[email protected]>2024-03-29 19:41:38 +0100
commit47b6da53aa76a7be011703158e71ac5d3c642878 (patch)
treec21bf8777b3439a965f6f42dd1d727e157c33349 /input.c
parentb7fc22f2908bc843d7dca4620531b93353df71d5 (diff)
Removed validate_N because its redundant
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
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;
}