瀏覽代碼

Fix: crash on entering empty dir, then press down

master
Arun Prakash Jana 5 年之前
父節點
當前提交
94a233b808
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c 查看文件

@@ -4380,7 +4380,7 @@ static void redraw(char *path)
if (g_states & STATE_MOVE_OP) {
g_states &= ~STATE_MOVE_OP;

if (last_curscroll == curscroll)
if (ndents && (last_curscroll == curscroll))
return draw_line(path, ncols);
}



Loading…
取消
儲存