Skip to content

Commit

Permalink
Fix string printing control chars
Browse files Browse the repository at this point in the history
  • Loading branch information
infradig committed Sep 14, 2024
1 parent 3f359fb commit 826e0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/print.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,8 @@ static void print_string_list(query *q, cell *c, pl_idx c_ctx, int running, bool
SB_sprintf(q->sb, "%s", "'");
SB_strcat_and_free(q->sb, formatted(C_STR(q, h), C_STRLEN(q, h), false, false));
SB_sprintf(q->sb, "%s", "'");
} else {
SB_sprintf(q->sb, "%s", C_STR(q, h));
} else{
SB_strcat_and_free(q->sb, formatted(C_STR(q, h), C_STRLEN(q, h), false, false));
}

c = LIST_TAIL(c);
Expand Down

0 comments on commit 826e0d1

Please sign in to comment.