diff options
| author | 2014-10-22 17:31:08 +0100 | |
|---|---|---|
| committer | 2014-10-22 17:31:08 +0100 | |
| commit | 1c467fce7adc8a3fd703c934ab3892be3c73715e (patch) | |
| tree | 122bca1365e4c83c634a53526c88b612943dfdeb | |
| parent | 0e214e23b71453ecae331f51917cf6b0411784fd (diff) | |
| download | nnn-1c467fce7adc8a3fd703c934ab3892be3c73715e.tar.gz | |
Style fix
| -rw-r--r-- | noice.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |