aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thumbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thumbs.c b/thumbs.c
index 9e49ca4..d097bbe 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -186,7 +186,7 @@ void tns_init(tns_t *tns, int cnt, win_t *win) {
void tns_free(tns_t *tns) {
int i;
- if (tns != NULL)
+ if (tns == NULL)
return;
if (tns->thumbs != NULL) {