]> Sergey Matveev's repositories - nnn.git/commitdiff
Style fix
authorsin <sin@2f30.org>
Wed, 22 Oct 2014 16:31:08 +0000 (17:31 +0100)
committersin <sin@2f30.org>
Wed, 22 Oct 2014 16:31:08 +0000 (17:31 +0100)
noice.c

diff --git a/noice.c b/noice.c
index 7dab6468d74e22b1db4493e11816d9ce83005018..3019dadad897642b1cdcaab54f58fb0619dccbf2 100644 (file)
--- a/noice.c
+++ b/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);