mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Correct early return position for if use_pixmap_cache_ check
This commit is contained in:
parent
9c114d16e6
commit
b6b263b9fc
@ -377,9 +377,8 @@ int GuiPainter::text(int x, int y, docstring const & s,
|
||||
|
||||
// Draw the new cached pixmap.
|
||||
drawPixmap(x + lb, y - mA, pm);
|
||||
|
||||
return textwidth;
|
||||
}
|
||||
return textwidth;
|
||||
}
|
||||
|
||||
// don't use the pixmap cache,
|
||||
|
Loading…
Reference in New Issue
Block a user