mirror of
https://github.com/jarun/nnn.git
synced 2025-03-12 17:54:04 +00:00
Style fix
This commit is contained in:
parent
0e214e23b7
commit
1c467fce7a
1 changed files with 1 additions and 1 deletions
2
noice.c
2
noice.c
|
@ -516,7 +516,7 @@ forgethist(void)
|
|||
{
|
||||
struct history *hist;
|
||||
|
||||
while (!SLIST_EMPTY(&histhead)) {
|
||||
while (SLIST_EMPTY(&histhead) == 0) {
|
||||
hist = SLIST_FIRST(&histhead);
|
||||
SLIST_REMOVE_HEAD(&histhead, entry);
|
||||
free(hist);
|
||||
|
|
Loading…
Add table
Reference in a new issue