aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Winston2024-05-15 20:10:47 -0400
committerBen Winston2024-05-15 20:10:47 -0400
commit712ab7fe97f87b3f01eca6d3f4ca6a10132d8faf (patch)
tree6a1a1c9ddaaa3efe9ebc5f0e66165a7737392ce9
parente93cab8a31ffd7b971e5e3a45ce8f889dd3da8dd (diff)
bugfix: go past quotes
-rw-r--r--booki.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/booki.c b/booki.c
index eeba4ba..6af0e2c 100644
--- a/booki.c
+++ b/booki.c
@@ -115,6 +115,9 @@ struct es parse_string(char* current_pos, char** new_pos) {
output.len = current_pos - value;
output.ptr = value;
+ // go past the quote
+ current_pos++;
+
// update position
*new_pos = current_pos;