mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
..
This commit is contained in:
parent
8f5551d664
commit
e087a42c6b
@ -149,7 +149,8 @@ void HTMLRenderer::LineBuffer::flush(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
size_t next_text_idx = min(cur_state_iter->start_idx, cur_offset_iter->start_idx);
|
size_t next_text_idx = min(cur_state_iter->start_idx, cur_offset_iter->start_idx);
|
||||||
outputUnicodes(out, text.data() + cur_text_idx, next_text_idx - cur_text_idx);
|
|
||||||
|
outputUnicodes(out, (&text.front()) + cur_text_idx, next_text_idx - cur_text_idx);
|
||||||
cur_text_idx = next_text_idx;
|
cur_text_idx = next_text_idx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user