cosmetic fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9774 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2005-04-03 17:59:10 +00:00
parent d0bd255a21
commit e6bdf56c97
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,8 @@
2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
* insettext.C (drawFrame): cosmetic fix
2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
* ExternalSupport.C (writeExternal):

View File

@ -222,7 +222,7 @@ void InsetText::drawFrame(Painter & pain, int x, int y) const
void InsetText::clearInset(Painter & pain, int x, int y) const
{
int const w = text_.width() + border_;
int const w = text_.width() + 2 * border_;
int const a = text_.ascent() + border_;
int const h = a + text_.descent() + border_;
pain.fillRectangle(x, y - a, w, h, backgroundColor());