Skip to content

Commit

Permalink
Doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Sep 12, 2023
1 parent 8b83d62 commit aad6b00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions position.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ static int pos_shift(POSITION linepos, int choff)
if (pos == NULL_POSITION || line_len != choff)
return -1;
cvt_ops = get_cvt_ops(0);
/* {{ It would be nice to be able to call cvt_text with dst=NULL, to avoid need to alloc a useless cline. }} */
cline = (char *) ecalloc(1, line_len);
cvt_text(cline, line, NULL, &line_len, cvt_ops);
free(cline);
Expand Down

0 comments on commit aad6b00

Please sign in to comment.