diff options
author | Sebastian Geerken <devnull@localhost> | 2013-01-04 11:17:00 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-01-04 11:17:00 +0100 |
commit | b549267b05d06a2c02c40d23209457856e4f1052 (patch) | |
tree | ae10083335a683492600a742d44dc67ada4df295 /dw/textblock.cc | |
parent | 366660644ca6fb23c158db6f42a987c16a037d6d (diff) |
Workaround for wrapRefLines.
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index a947eb8b..8d0e0bcb 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -465,6 +465,12 @@ void Textblock::markSizeChange (int ref) } PRINTF (" ... => %d\n", wrapRefLine); + + // It seems that sometimes the lines structure is changed, so that + // wrapRefLines may refers to a line which does not exist + // anymore. Should be examined again. Until then, setting + // wrapRefLines to the same value is a workaround. + markExtremesChange (ref); } void Textblock::markExtremesChange (int ref) |