Przeglądaj źródła

Fix no preview update when dir changed with same entry number hovered

master
Arun Prakash Jana 4 lat temu
rodzic
commit
ab9f560fa8
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: A75979F35C080412
1 zmienionych plików z 3 dodań i 1 usunięć
  1. +3
    -1
      src/nnn.c

+ 3
- 1
src/nnn.c Wyświetl plik

@@ -4691,11 +4691,13 @@ static void notify_fifo()
}

static char *name = NULL;
static time_t t = {0};

if (dents[cur].name == name)
if (dents[cur].name == name && dents[cur].t == t)
return;

name = dents[cur].name;
t = dents[cur].t;

char path[PATH_MAX];
size_t len = mkpath(g_ctx[cfg.curctx].c_path, ndents ? name : "", path);


Ładowanie…
Anuluj
Zapisz