diff options
author | Sebastian Geerken <devnull@localhost> | 2014-09-08 17:38:08 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-09-08 17:38:08 +0200 |
commit | ff3eb20d64fc4fc3c948e19bcf3fc5850e43f839 (patch) | |
tree | 291f2063a0f16989c3c30134d96977c451ff56d5 /dw/textblock.hh | |
parent | 51035bb344df7f922a5d83f8aace2a4d253714bd (diff) |
Small correction in Textblock::mustBeWidenedToAvailWidth.
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r-- | dw/textblock.hh | 2 |
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"); |