浏览代码

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;


正在加载...
取消
保存