UPD: improve TDarwinImageCacheManager.copyIconForFileExt()

This commit is contained in:
rich2014 2026-01-26 18:51:12 +08:00
commit 3102018072

View file

@ -233,7 +233,10 @@ var
bitmap: TBitmap;
begin
Result:= nil;
ext:= ExtractOnlyFileExt( path );
if path.LastIndexOf('.') > 0 then
ext:= ExtractOnlyFileExt( path )
else
ext:= path;
if ext.IsEmpty then
Exit;