aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-09-08 17:38:08 +0200
committerSebastian Geerken <devnull@localhost>2014-09-08 17:38:08 +0200
commitff3eb20d64fc4fc3c948e19bcf3fc5850e43f839 (patch)
tree291f2063a0f16989c3c30134d96977c451ff56d5
parent51035bb344df7f922a5d83f8aace2a4d253714bd (diff)
Small correction in Textblock::mustBeWidenedToAvailWidth.
-rw-r--r--dw/textblock.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh
index 4016c766..e7ff5c63 100644
--- a/dw/textblock.hh
+++ b/dw/textblock.hh
@@ -790,7 +790,7 @@ protected:
bool toplevel = getParent () == NULL,
block = getStyle()->display == core::style::DISPLAY_BLOCK,
vloat = getStyle()->vloat != core::style::FLOAT_NONE,
- result = (toplevel || block) && !vloat;
+ result = toplevel || (block && !vloat);
DBG_OBJ_MSGF ("resize", 0, "=> %s (toplevel: %s, block: %s, float: %s)",
result ? "true" : "false", toplevel ? "true" : "false",
block ? "true" : "false", vloat ? "true" : "false");