]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.cpp
Whitespace.
[lyx.git] / src / insets / InsetBranch.cpp
index db047c2f3d3085e5bbbd08fa7dea03dc6f44013d..efdeea56a560bdbf9496063c56fac6da9a2ad8b0 100644 (file)
@@ -106,11 +106,10 @@ docstring const InsetBranch::buttonLabel(BufferView const & bv) const
        docstring symb = docstring(1, char_type(master_selected ? 0x2714 : 0x2716));
        if (inchild && master_selected != child_selected)
                symb += char_type(child_selected ? 0x2714 : 0x2716);
-       s = symb + s;
        if (decoration() == InsetLayout::CLASSIC)
-               return isOpen(bv) ? s : getNewLabel(s);
+               return symb + (isOpen(bv) ? s : getNewLabel(s));
        else
-               return params_.branch + ": " + getNewLabel(s);
+               return symb + params_.branch + ": " + getNewLabel(s);
 }