mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
drop unintented static declaration from local temporary variable (formerly a global static constant)
This commit is contained in:
parent
31c3bddd6e
commit
2844a4ec06
@ -425,7 +425,7 @@ void GuiPainter::buttonText(int x, int baseline, docstring const & s,
|
||||
FontMetrics const & fm = theFontMetrics(font);
|
||||
fm.buttonText(s, offset, width, ascent, descent);
|
||||
|
||||
static int const d = offset / 2;
|
||||
int const d = offset / 2;
|
||||
|
||||
fillRectangle(x + d + 1, baseline - ascent + 1, width - offset - 1,
|
||||
ascent + descent - 1, back);
|
||||
|
Loading…
Reference in New Issue
Block a user