From: Arun Prakash Jana Date: Sat, 1 Feb 2020 13:16:56 +0000 (+0530) Subject: Ignore link assuming stdscr is NULL X-Git-Tag: v3.0~27 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=4401dbe092d6f70a8f3b4c407655c11658487bc6;p=nnn.git Ignore link assuming stdscr is NULL --- diff --git a/src/nnn.c b/src/nnn.c index d3c66b64..a98237be 100644 --- 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);