aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-11-18 11:48:08 +0100
committerSebastian Geerken <devnull@localhost>2014-11-18 11:48:08 +0100
commit2db5a9e3e790863db2f67e727512f2373d4c82dc (patch)
treeadda4019a690e3d0ab8684038efadc1bf724a395
parent1897da6e8181c5dbd8c4e38ab0af72553158e75c (diff)
Fixed bug related to floats.
-rw-r--r--dw/textblock.cc2
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;