SynEdit: fix charwidths issue in paint. Broken in fad67e71ec Issue #40716

This commit is contained in:
Martin 2024-01-22 20:48:44 +01:00
parent c819e0ed2a
commit 0a3d7d4e28

View File

@ -326,6 +326,7 @@ begin
if FLinesView.LogPhysConvertor.CurrentLine = ARealLine then begin
FCharWidths2 := FCharWidths;
FCharWidths :=FLinesView.LogPhysConvertor.CurrentWidthsDirect;
FCharWidthsLen :=FLinesView.LogPhysConvertor.CurrentWidthsCount;
end
else begin
if FCharWidths2 <> nil then begin