mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 23:18:01 +02:00
SynEdit: clean up compiler warning. Issue #41475
This commit is contained in:
parent
57240dc768
commit
2219f01ce4
@ -1197,7 +1197,7 @@ begin
|
||||
inc(FResizeLock); // prevent DoResize from recalculating NbLinesInWindow
|
||||
try
|
||||
inherited;
|
||||
FillChar(TextMetric{%H-},SizeOf(TextMetric),0);
|
||||
TextMetric := Default(TTextMetric);
|
||||
GetTextMetrics(Canvas.Handle, TextMetric);
|
||||
FFontHeight := TextMetric.tmHeight+2;
|
||||
SetNblinesInWindow(FNbLinesInWindow);
|
||||
|
Loading…
Reference in New Issue
Block a user