1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

fix state optimization

This commit is contained in:
Lu Wang 2012-09-06 19:05:49 +08:00
parent dc2096dae8
commit ef339371c4
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
pdf2htmlex (0.2-3~git201209061630r2c813-0ubuntu1) precise; urgency=low
* fix build
-- WANG Lu <coolwanglu@gmail.com> Thu, 06 Sep 2012 16:30:04 +0800
pdf2htmlex (0.2-3~git201209061446re191f-0ubuntu1) precise; urgency=low
* fix build

View File

@ -92,7 +92,7 @@ void HTMLRenderer::LineBuffer::flush(void)
// whenever a negative offset appears, we should not pop out that <span>
// otherwise the effect of negative margin-left would disappear
size_t last_text_pos_with_negative_offset = -1;
size_t last_text_pos_with_negative_offset = 0;
size_t cur_text_idx = 0;
while(cur_text_idx < text.size())