aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
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)