Sfoglia il codice sorgente

Forget all history on manual dir change

master
lostd 10 anni fa
parent
commit
5aceade801
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. +6
    -0
      noice.c

+ 6
- 0
noice.c Vedi File

@@ -676,6 +676,12 @@ nochange:
free(tmp);
free(filter);
filter = xstrdup(ifilter); /* Reset filter */
/* Forget history */
while (!SLIST_EMPTY(&histhead)) {
hist = SLIST_FIRST(&histhead);
SLIST_REMOVE_HEAD(&histhead, entry);
free(hist);
}
DPRINTF_S(path);
cur = 0;
goto out;


Loading…
Annulla
Salva