summaryrefslogtreecommitdiff
path: root/UFileAssoc.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2024-12-23 23:59:45 +0100
committerTomas Bzatek <tbzatek@redhat.com>2025-11-27 19:36:10 +0100
commitb9703b29819b619037cc282d719c187e51bacd30 (patch)
treebd6d73e5fb6bcb6eb307844103b3dff185f2ac9a /UFileAssoc.pas
parenta9634b933f71a9045e61d29c486f2d51d39fd1e2 (diff)
downloadtuxcmd-b9703b29819b619037cc282d719c187e51bacd30.tar.xz
Port to g-i generated glib2 bindings
Includes switch to FPC -Mobjfpc and related pointer style fixes.
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;