]> git.lyx.org Git - features.git/commitdiff
Fixup multi-line comment to use block-comment
authorLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 2 Feb 2012 00:25:13 +0000 (00:25 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 2 Feb 2012 00:25:13 +0000 (00:25 +0000)
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.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40699 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathCancel.cpp

index 3010054a503d08f9076a133f912d6abb48b58690..13d5606bef75fe005abf58bd4e91bfe45020ebaf 100644 (file)
@@ -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;