diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 4917919340..7b8213826f 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,8 @@ +2003-04-14 Angus Leeming + + * math_fboxinset.C: + * math_frameboxinset.C: s/\(LColor::\)black/\1foreground/ + 2003-04-02 John Levon * formulabase.C: diff --git a/src/mathed/math_fboxinset.C b/src/mathed/math_fboxinset.C index d6f9e1fbd4..6e36ae4d22 100644 --- a/src/mathed/math_fboxinset.C +++ b/src/mathed/math_fboxinset.C @@ -45,7 +45,7 @@ void MathFboxInset::metrics(MetricsInfo & mi) const void MathFboxInset::draw(PainterInfo & pi, int x, int y) const { pi.pain.rectangle(x + 1, y - ascent() + 1, width() - 2, height() - 2, - LColor::black); + LColor::foreground); if (key_->name == "fbox") { FontSetChanger dummy(pi.base, "textnormal"); cell(0).draw(pi, x + 5, y); diff --git a/src/mathed/math_frameboxinset.C b/src/mathed/math_frameboxinset.C index 44306c45bd..c2f804c2f8 100644 --- a/src/mathed/math_frameboxinset.C +++ b/src/mathed/math_frameboxinset.C @@ -37,7 +37,7 @@ void MathFrameboxInset::draw(PainterInfo & pi, int x, int y) const { FontSetChanger dummy(pi.base, "textnormal"); pi.pain.rectangle(x + 1, y - ascent() + 1, width() - 2, height() - 2, - LColor::black); + LColor::foreground); x += 5; drawStrBlack(pi, x, y, "[");