mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: improve TDarwinImageCacheManager.copyIconForFileExt()
This commit is contained in:
parent
d4ed1c0042
commit
3102018072
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue