1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00
This commit is contained in:
Lu Wang 2012-09-11 03:01:02 +08:00
parent 8f5551d664
commit e087a42c6b

View File

@ -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;
} }