diff options
author | Oskar <[email protected]> | 2024-04-07 18:57:21 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-04-07 18:57:21 +0200 |
commit | 28bcb44c3690c5f58f25358341739a81e6535edc (patch) | |
tree | 34fe0daa80ef886b985bb201ca7f3163cbd6f7a9 /i_validation.c | |
parent | 39fbc6c0b60780b37fc824acd2dc685c3733ef47 (diff) |
N0 now works properly
Diffstat (limited to 'i_validation.c')
-rw-r--r-- | i_validation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i_validation.c b/i_validation.c index 60af7aa..70762cf 100644 --- a/i_validation.c +++ b/i_validation.c @@ -147,7 +147,7 @@ int validate_imm_numbers(char *smode_buf, int mode) { int kflag = _INVALID; if (mode == MODE_N && smode_buf[1] == '0') { // Because we are on MODE_N this runs to check if there is anything after N0. We will only allow newline characters because that means theres ONLY 'N0* - printf("vimmn mode N\n"); + if (smode_buf[2] == '\n') { return _VALID; } else { |