aboutsummaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
Diffstat (limited to 'dw')
-rw-r--r--dw/textblock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index beff9cd5..124e6a80 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -3034,7 +3034,7 @@ void Textblock::queueDrawRange (int index1, int index2)
void Textblock::updateReference (int ref)
{
- if (lines->size () > 0)
+ if (words->size () > 0)
queueResize (ref, false);
}