]> git.lyx.org Git - features.git/commitdiff
Also account for colors in math macros.
authorEnrico Forestieri <forenr@lyx.org>
Wed, 28 Apr 2010 11:38:01 +0000 (11:38 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 28 Apr 2010 11:38:01 +0000 (11:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34325 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/MathMacroTemplate.cpp

index 7db428faf3734d18ee95dea1e898b382dc5122a5..c98bdbeb71b6c18e1b3caaaf1250e2eb73616690 100644 (file)
@@ -592,6 +592,7 @@ void MathMacroTemplate::metrics(MetricsInfo & mi, Dimension & dim) const
 
 void MathMacroTemplate::draw(PainterInfo & pi, int x, int y) const
 {
+       ColorChanger dummy0(pi.base.font, from_ascii("math"));
        FontSetChanger dummy1(pi.base, from_ascii("mathnormal"));
        StyleChanger dummy2(pi.base, LM_ST_TEXT);