diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-10-24 17:23:58 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-10-24 17:23:58 +0200 |
| commit | b955c230da60c2ce4d64dc11348b52d445ebde1e (patch) | |
| tree | 03d7f9f21997e44d861836c5b39d0e60e121e161 /vfs | |
| parent | 307e8d7e95798d0c113a3db0f6a3a4b063f8c054 (diff) | |
| download | tuxcmd-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')
| -rw-r--r-- | vfs/UVFSCore.pas | 2 |
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); |
