Author: larsbj
Date: Thu Feb 2 01:25:13 2012
New Revision: 40699
URL: http://www.lyx.org/trac/changeset/40699
Log:
Fixup multi-line comment to use block-comment
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.
Modified:
lyx-devel/trunk/src/mathed/InsetMathCancel.cpp
Modified: lyx-devel/trunk/src/mathed/InsetMathCancel.cpp
==============================================================================
--- lyx-devel/trunk/src/mathed/InsetMathCancel.cpp Wed Feb 1 22:03:04
2012 (r40698)
+++ lyx-devel/trunk/src/mathed/InsetMathCancel.cpp Thu Feb 2 01:25:13
2012 (r40699)
@@ -47,13 +47,15 @@
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;