Sfoglia il codice sorgente

Add comments

master
Arun Prakash Jana 5 anni fa
parent
commit
cf0ea993df
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: A75979F35C080412
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      src/nnn.c

+ 2
- 0
src/nnn.c Vedi File

@@ -1884,9 +1884,11 @@ static char *unescape(const char *str, uint maxcols)

if (maxcols) {
len = lencount = wcswidth(wbuf, len);
/* Reduce nuber of wide chars to max columns */
if (len > maxcols)
lencount = maxcols + 1;

/* Reduce wide chars one by one till it fits */
while (len > maxcols)
len = wcswidth(wbuf, --lencount);



Loading…
Annulla
Salva