mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 01:48:07 +02:00
tests: fix bug in pdf-tagged-text that was introduced in 4790a36
This commit is contained in:
parent
f3515954e0
commit
bb4ab5a8be
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ layout_paragraph (cairo_t *cr)
|
|||
int len = prev_end - begin;
|
||||
char *s = malloc (len);
|
||||
memcpy (s, begin, len);
|
||||
s[0] = 0;
|
||||
s[len-1] = 0;
|
||||
paragraph_text[paragraph_num_lines++] = s;
|
||||
begin = prev_end + 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue