diff --git a/components/industrialstuff/source/indlcddisplay_editorform.pas b/components/industrialstuff/source/indlcddisplay_editorform.pas index f1ec71b80..864d756e0 100644 --- a/components/industrialstuff/source/indlcddisplay_editorform.pas +++ b/components/industrialstuff/source/indlcddisplay_editorform.pas @@ -355,11 +355,10 @@ end; procedure TLCDCharDefsEditor.ClearEditorGrid; var - i, j: integer; + i: integer; begin - for i := 0 to dgDotMatrix.ColCount - 1 do - for j := 0 to dgDotMatrix.RowCount - 1 do - FTmpDotRows[j].ClearBit(i); + for i := 0 to High(FTmpDotRows[i]) do + FTmpDotRows[i] := 0; end; { Reads the size of the dot matrix from FLCDDisplay and use it to define the