summaryrefslogtreecommitdiff
path: root/vfs/UVFSCore.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-10-24 17:23:58 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-10-24 17:23:58 +0200
commitb955c230da60c2ce4d64dc11348b52d445ebde1e (patch)
tree03d7f9f21997e44d861836c5b39d0e60e121e161 /vfs/UVFSCore.pas
parent307e8d7e95798d0c113a3db0f6a3a4b063f8c054 (diff)
downloadtuxcmd-b955c230da60c2ce4d64dc11348b52d445ebde1e.tar.xz
Strictly require particular VFS API version
We're not forward or backward compatible and it's causing troubles with mixed plugins.
Diffstat (limited to 'vfs/UVFSCore.pas')
-rw-r--r--vfs/UVFSCore.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/vfs/UVFSCore.pas b/vfs/UVFSCore.pas
index 7b4a110..7516544 100644
--- a/vfs/UVFSCore.pas
+++ b/vfs/UVFSCore.pas
@@ -1138,7 +1138,7 @@ begin
if ModuleHandler = nil then DebugMsg([' XXX Error loading module: ', dlerror])
else try
@VFSVersionFunc := dlsym(ModuleHandler, 'VFSVersion');
- if (@VFSVersionFunc <> nil) and (VFSVersionFunc >= ConstVFSVersionRequired) then begin
+ if (@VFSVersionFunc <> nil) and (VFSVersionFunc = ConstVFSVersionRequired) then begin
PluginItem := TVFSPlugin.Create(ModuleHandler);
PluginItem.FullPath := IncludeTrailingPathDelimiter(s) + Buf;
PluginList.Add(PluginItem);