]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macrotemplate.C
fix compilation error
[lyx.git] / src / mathed / math_macrotemplate.C
index 04c96f11f8ff3470d4acad28e46be9d02e50734b..22186a52ee52fff2d81898f46f026ba39f9957a9 100644 (file)
@@ -57,14 +57,16 @@ void MathMacroTemplate::metrics(MathMetricsInfo & mi) const
 }
 
 
-void MathMacroTemplate::draw(MathPainterInfo & pain, int x, int y) const
+void MathMacroTemplate::draw(MathPainterInfo & pi, int x, int y) const
 {
        int const w0 = xcell(0).width();
        int const w1 = xcell(1).width();
-       xcell(0).draw(pain, x + 2, y + 1);
-       pain.pain.rectangle(x, y - ascent() + 1, w0 + 4, height(), LColor::blue);
-       xcell(1).draw(pain, x + 8 + w0, y + 1);
-       pain.pain.rectangle(x + w0 + 6 , y - ascent() + 1, w1 + 4, height(), LColor::blue);
+       xcell(0).draw(pi, x + 2, y + 1);
+       pi.pain.rectangle(x, y - ascent() + 1, w0 + 4, height(),
+                       LColor::blue);
+       xcell(1).draw(pi, x + 8 + w0, y + 1);
+       pi.pain.rectangle(x + w0 + 6 , y - ascent() + 1, w1 + 4,
+                       height(), LColor::blue);
 }