summaryrefslogtreecommitdiff
path: root/UFileAssoc.pas
diff options
context:
space:
mode:
Diffstat (limited to 'UFileAssoc.pas')
-rw-r--r--UFileAssoc.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/UFileAssoc.pas b/UFileAssoc.pas
index 4b4f355..60ee2d5 100644
--- a/UFileAssoc.pas
+++ b/UFileAssoc.pas
@@ -206,7 +206,7 @@ begin
if b then Break;
end;
if b then begin
- Result := PluginList[i];
+ Result := TVFSPlugin(PluginList[i]);
MaxFound := Length(s);
end;
end;
@@ -236,7 +236,7 @@ begin
if b then Break;
end;
if b then begin
- Result := AssocList[i];
+ Result := TFileAssoc(AssocList[i]);
MaxFound := Length(s);
end;
end;