aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Winston2024-06-18 12:00:17 -0400
committerBen Winston2024-06-18 12:00:17 -0400
commit10bbb7c6f91dc0cb434bb84409029316341d9826 (patch)
treef963026d8b4f47346cfb3dee0299c63101346b58
parent1a49fc0f83dbd6b7e4bbbf5af344baafd39e1999 (diff)
bugfix: parse all strings as potentially compound
-rw-r--r--booki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/booki.c b/booki.c
index 564e653..34cd4c1 100644
--- a/booki.c
+++ b/booki.c
@@ -701,7 +701,7 @@ void parse_book(char* current_pos, BOOK* book) {
// set 'string_field' to be the pointer to the correct field in the struct
string_field = get_string_field(book, datafield.name);
// set the value of the struct's field to be the parsed string
- *string_field = parse_string(current_pos, &new_pos);
+ *string_field = parse_strings(current_pos, &new_pos);
current_pos = new_pos;
break;
} else if (datafield.type == booki_number) {