LCL: Remove the Max() call completely. NumGlyphs has correct value after r37494 #dd610c84ec. Related to #22164: Invalid floating point operation.

git-svn-id: trunk@37497 -
This commit is contained in:
juha 2012-06-03 10:14:45 +00:00
parent 780bcdc31b
commit f27dbb34cb

View File

@ -224,7 +224,7 @@ begin
begin
FImagesCache := GetImageListCache;
FImagesCache.RegisterListener(Self);
FImagesCache.RegisterBitmap(Self, FOriginal, Max(1, NumGlyphs));
FImagesCache.RegisterBitmap(Self, FOriginal, NumGlyphs);
end;
if Sender = FOriginal then