mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 06:10:29 +02:00
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:
parent
780bcdc31b
commit
f27dbb34cb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user