aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-01-04 11:17:00 +0100
committerSebastian Geerken <devnull@localhost>2013-01-04 11:17:00 +0100
commitb549267b05d06a2c02c40d23209457856e4f1052 (patch)
treeae10083335a683492600a742d44dc67ada4df295 /dw/textblock.cc
parent366660644ca6fb23c158db6f42a987c16a037d6d (diff)
Workaround for wrapRefLines.
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r--dw/textblock.cc6
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)