* Fix AV when reading palette. Fixes issue #39823

This commit is contained in:
Michaël Van Canneyt 2022-07-03 10:31:25 +02:00
parent 672f90bf40
commit f754ecf3d4

View File

@ -300,6 +300,7 @@ begin
end;
ParseFirstLine;
Img.SetSize (width, height);
Img.UsePalette := True;
ReadPalette;
ReadData;
finally