mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Unsafe typecast
This commit is contained in:
parent
5116e65c63
commit
ef6ced623f
1 changed files with 5 additions and 4 deletions
|
|
@ -414,11 +414,12 @@ begin
|
|||
begin
|
||||
if AFileSource.IsClass(TWfxPluginFileSource) then
|
||||
begin
|
||||
if IWfxPluginFileSource(AFileSource).WfxModule.ContentPlugin and
|
||||
IWfxPluginFileSource(AFileSource).WfxModule.FileParamVSDetectStr(AFile) then
|
||||
with AFileSource as IWfxPluginFileSource do
|
||||
begin
|
||||
Result := IWfxPluginFileSource(AFileSource).WfxModule.CallContentGetValueV(
|
||||
AFile.FullPath, AFunc, AParam, 0);
|
||||
if WfxModule.ContentPlugin and WfxModule.FileParamVSDetectStr(AFile) then
|
||||
begin
|
||||
Result := WfxModule.CallContentGetValueV(AFile.FullPath, AFunc, AParam, 0);
|
||||
end;
|
||||
end;
|
||||
end
|
||||
else if fspDirectAccess in AFileSource.Properties then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue