summaryrefslogtreecommitdiffstats
path: root/src/history.c
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-02-13 17:02:19 +0100
committerLouis Burda <quent.burda@gmail.com>2022-02-13 17:02:44 +0100
commit12b6c9dfd009352e0bb7f8395abd3678e3bd6265 (patch)
tree189a16dae165e97cb87acb5f6233edfd17004e31 /src/history.c
parent96e9e044e779b301b0608aea0ee4449124a8d0bd (diff)
downloadtmus-12b6c9dfd009352e0bb7f8395abd3678e3bd6265.tar.gz
tmus-12b6c9dfd009352e0bb7f8395abd3678e3bd6265.zip
Added liblist
Diffstat (limited to 'src/history.c')
-rw-r--r--src/history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history.c b/src/history.c
index 5bdac39..8337bad 100644
--- a/src/history.c
+++ b/src/history.c
@@ -41,7 +41,7 @@ history_free(struct history *history)
inputln_free(UPCAST(ln, struct inputln));
list_free(&history->list, (link_free_func) inputln_free,
- LINK_OFFSET(struct inputln));
+ LINK_OFFSET(struct inputln, link));
history->input = NULL;
history->sel = NULL;