From: Lars Gullik Bjønnes <lar...@gullik.org> The small ascii art in InsetMathCancel::draw has line continuation characters at eol, this make consecutive lines be andled as one. The use of a block comment instead of single line comments makes this less of a "problem." Also it removes a warning with gcc 4.7. --- src/mathed/InsetMathCancel.cpp | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/mathed/InsetMathCancel.cpp b/src/mathed/InsetMathCancel.cpp index 3010054..13d5606 100644 --- a/src/mathed/InsetMathCancel.cpp +++ b/src/mathed/InsetMathCancel.cpp @@ -47,13 +47,15 @@ void InsetMathCancel::draw(PainterInfo & pi, int x, int y) const cell(0).draw(pi, x + 1, y); Dimension const dim = dimension(*pi.base.bv); - // y1 \ / - // \ / - // \/ - // /\ - // / \ - // y2 / \ - // x1 x2 + /* + * y1 \ / + * \ / + * \/ + * /\ + * / \ + * y2 / \ + * x1 x2 + */ int const x2 = x + dim.wid; int const x1 = x; -- 1.7.7.6