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:
parent
dc2096dae8
commit
ef339371c4
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user