* fix for r27091: draw the newly created pixmap. The reordering of the code has removed this case. So much about trivial program transformation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27227 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-11-03 07:40:18 +00:00
parent 10e05161fb
commit 4040382f46

View File

@ -405,6 +405,10 @@ int GuiPainter::text(int x, int y, docstring const & s,
//LYXERR(Debug::PAINTING, "h=" << h << " mA=" << mA << " mD=" << mD
// << " w=" << w << " lb=" << lb << " tw=" << textwidth
// << " rb=" << rb);
// Draw the new cached pixmap.
drawPixmap(x + lb, y - mA, pm);
return textwidth;
}
}