瀏覽代碼

Forget all history on manual dir change

master
lostd 10 年之前
父節點
當前提交
5aceade801
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      noice.c

+ 6
- 0
noice.c 查看文件

@@ -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…
取消
儲存