aboutsummaryrefslogtreecommitdiff
path: root/ll.c
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-12 17:26:54 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-12 17:26:54 -0400
commit2719d59866e96a3ae697a417a35540572af6ddfc (patch)
tree259a69e1cdb4e9de51f89c5301c22b43be2ed8bc /ll.c
parent60e6394056de9d7d1cd3c93abb1cd4cd2f5cb192 (diff)
Added .LS
Did a lot of code cleanup on the way because I was trying to find a bug in the new code, but it was actually in the handling of multiline inputs to wordset (now fixed). sb.* added for correct memory allocation in lineset, which, did I mention, now works. Makefile has been updated, and phrase-circuit.src can now handle line widths of about 50.
Diffstat (limited to 'll.c')
-rw-r--r--ll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ll.c b/ll.c
index d929b2f..40c5f99 100644
--- a/ll.c
+++ b/ll.c
@@ -5,6 +5,6 @@ llnode* appendll(llnode* tail, char* str){
llnode* new = malloc(sizeof(llnode));
if (tail != NULL) tail->next = new;
new->str = str;
- new->loc = 0;
+ new->end = 0;
return new;
}