diff options
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index 8c2accb4..d42be1e3 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -3149,7 +3149,7 @@ Textblock *Textblock::getTextblockForLine (int firstWord, int lastWord) // Exclude some cases where a textblock constitutes a new // container (see definition of float container in // Textblock::isContainingBlock). - widget->getStyle()->display != core::style::DISPLAY_BLOCK && + widget->getStyle()->display != core::style::DISPLAY_INLINE_BLOCK && widget->getStyle()->overflow == core::style::OVERFLOW_VISIBLE) textblock = (Textblock*)widget; |