mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Access violation when archive icon not found
This commit is contained in:
parent
b0025801b7
commit
0e6d3f59eb
1 changed files with 4 additions and 4 deletions
|
|
@ -1412,10 +1412,10 @@ begin
|
|||
FreeThenNil(Icon);
|
||||
DestroyIcon(hicn);
|
||||
end
|
||||
end;
|
||||
{$ELSE}
|
||||
Result:= nil;
|
||||
end
|
||||
else
|
||||
{$ENDIF}
|
||||
Result:= nil;
|
||||
end;
|
||||
|
||||
function TPixMapManager.DrawBitmap(iIndex: PtrInt; Canvas : TCanvas; X, Y: Integer) : Boolean;
|
||||
|
|
@ -1949,4 +1949,4 @@ finalization
|
|||
end;
|
||||
|
||||
end.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue