commit 1c467fce7adc8a3fd703c934ab3892be3c73715e parent 0e214e23b71453ecae331f51917cf6b0411784fd Author: sin <sin@2f30.org> Date: Wed, 22 Oct 2014 17:31:08 +0100 Style fix Diffstat:
M | noice.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);