commit 4401dbe092d6f70a8f3b4c407655c11658487bc6
parent 27943b9efb95453258f9171916978d25a3ee6adc
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sat, 1 Feb 2020 18:46:56 +0530
Ignore link assuming stdscr is NULL
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -2453,7 +2453,7 @@ static char *xreadline(const char *prefill, const char *prompt)
memmove(buf + pos - 1, buf + pos,
(len - pos) * WCHAR_T_WIDTH);
--pos, --len;
- } while (buf[pos-1] != ' ' && buf[pos-1] != '/');
+ } while (buf[pos - 1] != ' ' && buf[pos - 1] != '/'); // NOLINT
continue;
case CONTROL('K'):
printprompt(prompt);