Parcourir la source

Forget all history on manual dir change

master
lostd il y a 10 ans
Parent
révision
5aceade801
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. +6
    -0
      noice.c

+ 6
- 0
noice.c Voir le fichier

@@ -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;


Chargement…
Annuler
Enregistrer