]> git.lizzy.rs Git - nothing.git/blobdiff - src/ui/history.c
`Lt *` -> `Lt `
[nothing.git] / src / ui / history.c
index b1a1ed663c6745f1810c683884b1c5f786be5ee7..935e88d99db6010394e1630e42f66db1191ad68d 100644 (file)
@@ -9,7 +9,7 @@
 
 struct History
 {
-    Lt *lt;
+    Lt lt;
 
     char **buffer;
     size_t begin;
@@ -19,7 +19,7 @@ struct History
 
 History *create_history(size_t capacity)
 {
-    Lt *lt = create_lt();
+    Lt lt = create_lt();
     if (lt == NULL) {
         return NULL;
     }