aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/textblock.hh')
-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");