Przeglądaj źródła

Fix #511: chew ling strings at filter prompt

master
Arun Prakash Jana 5 lat temu
rodzic
commit
46f17885ce
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: A75979F35C080412
1 zmienionych plików z 2 dodań i 6 usunięć
  1. +2
    -6
      src/nnn.c

+ 2
- 6
src/nnn.c Wyświetl plik

@@ -2622,12 +2622,8 @@ static int filterentries(char *path, char *lastname)

/* Reset cur in case it's a repeat search */
cur = 0;
} else if (len == REGEX_MAX - 1) {
printmsg(messages[MSG_LIMIT]);
xdelay(XDELAY_INTERVAL_MS);
*ch = MSGWAIT;
break;
}
} else if (len == REGEX_MAX - 1)
continue;

wln[len] = (wchar_t)*ch;
wln[++len] = '\0';


Ładowanie…
Anuluj
Zapisz